Hibernate can provide an integration with Java Flight Recorder in order to monitor low level events.
The Event
s that can be monitored are :
-
org.hibernate.orm.SessionOpen
andorg.hibernate.orm.SessionClosed
to respectively monitor the opening and closing of a Hibernate Session -
org.hibernate.orm.JdbcConnectionAcquisition
andorg.hibernate.orm.JdbcConnectionRelease
to respectively monitor the acquisition and release of a JDBC connection -
org.hibernate.orm.JdbcPreparedStatementCreation
andorg.hibernate.orm.JdbcPreparedStatementExecution
to respectively monitorPreparedStatement
s creation and execution -
org.hibernate.orm.JdbcBatchExecution
to monitor batching execution -
org.hibernate.orm.CachePut
andorg.hibernate.orm.CacheGet
to respectively monitor second level cache PUT and GET operations -
org.hibernate.orm.FlushEvent
to monitor flush execution andorg.hibernate.orm.PartialFlushEvent
to monitor a partial flush execution -
org.hibernate.orm.DirtyCalculationEvent
to monitor dirty check calculations
Important
|
To use the Java Flight Recorder integration, the application must include the |
Note
|
The |