Package org.hibernate.resource.jdbc.spi
Interface JdbcSessionContext
-
public interface JdbcSessionContextProvides 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 booleandoesConnectionProviderDisableAutoCommit()ConnectionAcquisitionModegetConnectionAcquisitionMode()Deprecated.UsegetPhysicalConnectionHandlingMode()insteadConnectionReleaseModegetConnectionReleaseMode()Deprecated.UsegetPhysicalConnectionHandlingMode()insteadintgetFetchSize()JdbcObservergetObserver()PhysicalConnectionHandlingModegetPhysicalConnectionHandlingMode()ServiceRegistrygetServiceRegistry()SessionFactoryImplementorgetSessionFactory()Retrieve the session factory for this environment.StatementInspectorgetStatementInspector()booleanisGetGeneratedKeysEnabled()booleanisScrollableResultSetsEnabled()
-
-
-
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()
-
-