weeznat wrote:
My application is printing all SQL statements it executes, for example:
Hibernate: select * from ( select hibernatee0_.id as ...
Hibernate: select * from ( select hibernatee0_.id as ...
How do I turn this off? I have my log4j configuration set to ERROR. The Hibernate logs are the only logs that are printed to the log file. The log4j config file location is correct, because when I change the root priority to INFO or DEBUG, I see the other logs printed.
Using hibernate 3.3.1
Any idea?
Thanks.
Hi,
Try to remove this line
Code:
hibernate.show_sql=false
in your hibernate.properties
or
Code:
<property name="show_sql">true</property>
in your hibernate.cfg.xml