public class ConnectionReleaseAfterStatementEvent extends ConfigurationPropertyEvent
ConnectionReleaseAfterStatementEvent indicates that the current application
is using the Hibernate ConnectionReleaseMode.AFTER_STATEMENT
connection release mode which is less efficient than the ConnectionReleaseMode.AFTER_TRANSACTION alternative.Event.Priority| Constructor and Description |
|---|
ConnectionReleaseAfterStatementEvent(boolean jta)
Instantiate the event using the provided Hibernate transaction management mode.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
|
Event.Priority |
getPriority()
Get the
Event.Priority of this Event |
boolean |
isJta()
Check if the event was generated in a JTA environment.
|
getConfigurationPropertygetInfoUrlpublic ConnectionReleaseAfterStatementEvent(boolean jta)
jta - if Hibernate uses JTApublic boolean isJta()
public Event.Priority getPriority()
Event.Priority of this EventEvent.Priority of this EventCopyright © 2026. All rights reserved.