In my jdk logging.properties, I set the following logging level for hibernate to log the SQL statement it calls, but nothing is actually logged:
net.sf.hibernate.SQL.level=ALL
Is the setting wrong?
The app is running in the background so I cannot use the show_sql setting in hibernate.properties to see the generated sql stmts.
Thanks,
--Jiunjiun
[b]Hibernate version:[/b]
2.1.7c
[b]Mapping documents:[/b]
[b]Code between sessionFactory.openSession() and session.close():[/b]
[b]Full stack trace of any exception that occurs:[/b]
[b]Name and version of the database you are using:[/b]
[b]The generated SQL (show_sql=true):[/b]
[b]Debug level Hibernate log excerpt:[/b]
|