I put this in hibernate config
<property name="hibernate.generate_statistics">true</property>
and i see this in log
15:41:28,153 INFO SettingsFactory:305 - Statistics: enabled
I put this in my log4j
log4j.rootLogger=info, stdout
log4j.logger.org.hibernate=INFO
log4j.logger.org.hibernate.SQL=TRACE
log4j.logger.org.hibernate.stat=TRACE
I can change these to get different logging output, so logging doesn't seem to be the problem
I see tons of DEBUG SQL:111 followed by sql statement in the log
but I am not seeing any kind of statistical summary
I am using Hibernate 3.3 (ps. I did see one thread that mentioned statistics was fixed in 3.5)
Thanks
<property name="hibernate.generate_statistics">true</property>
and i see this in log
15:41:28,153 INFO SettingsFactory:305 - Statistics: enabled
I put this in my log4j
log4j.rootLogger=info, stdout
log4j.logger.org.hibernate=INFO
log4j.logger.org.hibernate.SQL=TRACE
log4j.logger.org.hibernate.stat=TRACE
I can change these to get different logging output, so logging doesn't seem to be the problem
I see tons of DEBUG SQL:111 followed by sql statement in the log
but I am not seeing any kind of statistical summary
I am using Hibernate 3.3 (ps. I did see one thread that mentioned statistics was fixed in 3.5)
Thanks