One again ( :-) ):

You have to compile JBoss yourself (get it from cvs or the
sourcesnapshot, be careful since config files changed between 2.0 FINAL
and cvs !). BEFORE you execute the build script in jboss/src/build edit
the file
jboss/src/main/org/jboss/ejb/plugins/jaws/jdbc/JDBCCommand.java

Set 
   public static boolean debug = false;
to
   public static boolean debug = true;
and save, then compile.

If you add Debug in jboss.conf in the logger entry you should see all
SQL statements now.

Cheers,
Tobias

PS: E.g. mySQL does the command login itself. CHeck your database too !

Alexander Klyubin wrote:
> 
> Hi!
> 
> Does anybody know whether it is possible to trace SQL statements that
> container executes in CMP mode?
> 
> Best regards,
> Alexander Klyubin
> 
> --
> --------------------------------------------------------------
> To subscribe:        [EMAIL PROTECTED]
> To unsubscribe:      [EMAIL PROTECTED]
> List Help?:          [EMAIL PROTECTED]


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to