public abstract class SessionFactoryUtils
extends java.lang.Object
Used internally by HibernateTransactionManager
.
Can also be used directly in application code.
HibernateTransactionManager
Modifier and Type | Field and Description |
---|---|
static int |
SESSION_SYNCHRONIZATION_ORDER
Order value for TransactionSynchronization objects that clean up Hibernate Sessions.
|
Constructor and Description |
---|
SessionFactoryUtils() |
public static final int SESSION_SYNCHRONIZATION_ORDER
DataSourceUtils.CONNECTION_SYNCHRONIZATION_ORDER - 100
to execute Session cleanup before JDBC Connection cleanup, if any.