Class AutoCommittingConnectionEvent
java.lang.Object
io.hypersistence.optimizer.core.event.AbstractEvent
io.hypersistence.optimizer.hibernate.event.connection.ConnectionEvent
io.hypersistence.optimizer.hibernate.event.connection.AutoCommittingConnectionEvent
- All Implemented Interfaces:
Event,Serializable
The
AutoCommittingConnectionEvent indicates that a JDBC Connection
was borrowed in auto-commit mode.
Borrowing a JDBC Connection from the pool in auto-commit mode
should be avoided as Hibernate needs to disable that mode and enforce explicit
transaction boundaries.- Since:
- 2.3.0
- Author:
- Vlad Mihalcea
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.hypersistence.optimizer.core.event.Event
Event.Priority -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.hypersistence.optimizer.core.event.AbstractEvent
getInfoUrl
-
Constructor Details
-
AutoCommittingConnectionEvent
public AutoCommittingConnectionEvent()
-
-
Method Details
-
getPriority
Get theEvent.Priorityof thisEvent- Returns:
- the
Event.Priorityof thisEvent
-
getDescription
-