Tag Archives: Hibernate statistics

Displaying Hibernate statistics in a Grails app

Hibernate offers a statistics object (org.hibernate.stat.Statistics) that can be used to monitor the behavior of Hibernate at runtime. Statistics include connection count, max query execution time, cache hits/misses and many more. To access the statistics, inject the sessionFactory into a … Continue reading

Posted in Groovy and Grails | Tagged , , , | 1 Comment