THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
If you enable Hibernate statistics by setting the property hibernate.generate_statistics to true, Hibernate will expose a number of useful metrics. The page "Statistics" is used to expose these metrics. This page is only available in development mode.!images/hibernate-statistics.png!Hibernate Statistics
!images/hibernate-statistics-2.png!Hibernate Statisticsh1.
Hibernate Configuration to enable the Statistics
Code Block | ||||
---|---|---|---|---|
| ||||
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd"> <hibernate-configuration> ... <property name="hibernate.generate_statistics">true</property> </session-factory> </hibernate-configuration> |