Greetings,

I would like to know, is there a way to configure JBoss to log the SQL 
statements it generates and executes?

Practically, I need it because I got this exception:
anonymous wrote : java.sql.SQLException: You have an error in your SQL syntax; 
check the manual that corresponds to your MySQL server version for the right 
syntax to use near '' at line 1and I do not know the source of this exception.
If I could see the SQL JBoss tries to execute, I can figure out what is wrong.

But beside my specific need, I think that logging the SQL statements is 
important (at least for beginners such as my self, to see what's going on 
here...)

So, please, if anyone knows how to do it, please share this information.

Thanks,
Ohad

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903288#3903288

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903288


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to