Package org.hibernate.internal
Interface SessionCreationOptions
-
- All Known Subinterfaces:
SharedSessionCreationOptions
- All Known Implementing Classes:
SessionFactoryImpl.SessionBuilderImpl,SessionFactoryImpl.StatelessSessionBuilderImpl
public interface SessionCreationOptions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectiongetConnection()List<SessionEventListener>getCustomSessionEventListener()ExceptionMappergetExceptionMapper()FlushModegetInitialSessionFlushMode()InterceptorgetInterceptor()TimeZonegetJdbcTimeZone()PhysicalConnectionHandlingModegetPhysicalConnectionHandlingMode()StatementInspectorgetStatementInspector()StringgetTenantIdentifier()booleanshouldAutoClear()booleanshouldAutoClose()booleanshouldAutoJoinTransactions()
-
-
-
Method Detail
-
shouldAutoJoinTransactions
boolean shouldAutoJoinTransactions()
-
getInitialSessionFlushMode
FlushMode getInitialSessionFlushMode()
-
shouldAutoClose
boolean shouldAutoClose()
-
shouldAutoClear
boolean shouldAutoClear()
-
getConnection
Connection getConnection()
-
getInterceptor
Interceptor getInterceptor()
-
getStatementInspector
StatementInspector getStatementInspector()
-
getPhysicalConnectionHandlingMode
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
-
getTenantIdentifier
String getTenantIdentifier()
-
getJdbcTimeZone
TimeZone getJdbcTimeZone()
-
getCustomSessionEventListener
List<SessionEventListener> getCustomSessionEventListener()
- Returns:
- the full list of SessionEventListener if this was customized, or null if this Session is being created with the default list.
-
getExceptionMapper
ExceptionMapper getExceptionMapper()
-
-