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 Connection
getConnection()
List<SessionEventListener>
getCustomSessionEventListener()
ExceptionMapper
getExceptionMapper()
FlushMode
getInitialSessionFlushMode()
Interceptor
getInterceptor()
TimeZone
getJdbcTimeZone()
PhysicalConnectionHandlingMode
getPhysicalConnectionHandlingMode()
StatementInspector
getStatementInspector()
String
getTenantIdentifier()
boolean
shouldAutoClear()
boolean
shouldAutoClose()
boolean
shouldAutoJoinTransactions()
-
-
-
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()
-
-