Package org.hibernate.resource.jdbc.spi
Interface JdbcSessionContext
-
public interface JdbcSessionContext
Provides the JdbcSession implementation with contextual information it needs during its lifecycle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
doesConnectionProviderDisableAutoCommit()
ConnectionAcquisitionMode
getConnectionAcquisitionMode()
Deprecated.UsegetPhysicalConnectionHandlingMode()
insteadConnectionReleaseMode
getConnectionReleaseMode()
Deprecated.UsegetPhysicalConnectionHandlingMode()
insteadint
getFetchSize()
JdbcObserver
getObserver()
PhysicalConnectionHandlingMode
getPhysicalConnectionHandlingMode()
ServiceRegistry
getServiceRegistry()
SessionFactoryImplementor
getSessionFactory()
Retrieve the session factory for this environment.StatementInspector
getStatementInspector()
boolean
isGetGeneratedKeysEnabled()
boolean
isScrollableResultSetsEnabled()
-
-
-
Method Detail
-
isScrollableResultSetsEnabled
boolean isScrollableResultSetsEnabled()
-
isGetGeneratedKeysEnabled
boolean isGetGeneratedKeysEnabled()
-
getFetchSize
int getFetchSize()
-
getPhysicalConnectionHandlingMode
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
-
doesConnectionProviderDisableAutoCommit
boolean doesConnectionProviderDisableAutoCommit()
-
getConnectionReleaseMode
@Deprecated ConnectionReleaseMode getConnectionReleaseMode()
Deprecated.UsegetPhysicalConnectionHandlingMode()
instead
-
getConnectionAcquisitionMode
@Deprecated ConnectionAcquisitionMode getConnectionAcquisitionMode()
Deprecated.UsegetPhysicalConnectionHandlingMode()
instead
-
getStatementInspector
StatementInspector getStatementInspector()
-
getObserver
JdbcObserver getObserver()
-
getSessionFactory
SessionFactoryImplementor getSessionFactory()
Retrieve the session factory for this environment.- Returns:
- The session factory
-
getServiceRegistry
ServiceRegistry getServiceRegistry()
-
-