how to measure hibernate performance?
how to measure performance in hibernate? I want to know that how much time hibernate takes to execute a query? JProfiler 7.1 has a JPA/Hibernate probe: http://www.ej-technologies.com/products/jprofiler/whatsnew71.html Here's a screen cast that shows how it works: http://blog.ej-technologies.com/2012/01/profiling-jpahibernate.html The hot spots view looks like this: Disclaimer: My company develops JProfiler I would recommend one or several of the following options: Database profiler (e.q. SqlServer Profiler) Hibernate's built-in statistics (see: http://www.javalobby.org/java/forums/t19807.html