Details
-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
7.0.0.Final
-
None
-
Documentation (Ref Guide, User Guide, etc.)
-
Workaround Exists
-
Description
Hibernate 3.x is logging the generated SQL queries when the logger category org.hibernate.SQL is set to DEBUG. This feature is extremely helpful in finding mapping errors because you can inspect the mapping result in the log file. For instance, see the Hibernate docs at http://docs.jboss.org/hibernate/core/3.6/reference/en-US/html/session-configuration.html#configuration-logging
I'll attach a testcase so that you can easily reproduce this issue.