Just like Hibernate
<prop key="hibernate.show_sql">true</prop>
Thx rosen
The answer is yes. You need to set your logging package to DEBUG java.sql.*. So for example, I've got this in my log4j.xml file:
<category name="java.sql"> <priority value="DEBUG"/> </category>
HTH, Kris
Log in to post a comment.
Just like Hibernate
<prop key="hibernate.show_sql">true</prop>
Thx
rosen
The answer is yes. You need to set your logging package to DEBUG java.sql.*. So for example, I've got this in my log4j.xml file:
<category name="java.sql">
<priority value="DEBUG"/>
</category>
HTH,
Kris