|Description||Provides monitoring of Hibernate session manager statistics, EJB3 entities and queries|
The Hibernate plugin provides monitoring capabilities for Hibernate session manager, EJB3 entities and queries.
The monitoring is possible in any JVM that has the remote JMX monitoring enabled. To enable JMX monitoring, start your JVM using command line parameters such like:
In addition, you have to manually enable Hibernate statistics MBean in the code of your application like this:
Once this setup is in place, you can point the Hibernate plugin to the host and port of the MBean server (configured by the command line parameters above) and you should see the Hibernate statistics of your application listed in the RHQ user interface.