Hello,

we are trying to debug our application and we have the feeling the the genereted sql 
query from the eqjb ql is incorrect.

We are using JBoss 3.2.3 and Oracle9i with JDBC driver: classes12.zip.
JBoss and oracle are running under RedHat AS.
We are using ejbs with container managed persistence, generated from the database by 
JDeveloper.

We have managed to output the query information by adding the following block to the 
log4j.xml file:

  | <category name="org.jboss.ejb">
  |     <priority value="TRACE" />
  | </category>
  | 

Query now looks like this: 

  | DEBUG [PLS_RELATIES#findByPrimaryKey] Executing SQL: SELECT id FROM PLS_RELATIES 
WHERE id=?
  | 

We would like to configure jboss to also display the parameters in the sql query 
instead of question marks. 

Can anybody help us to achieve this?

Thanks!




<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827234#3827234";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827234>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to