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()
int
getDefaultBatchFetchSize()
ExceptionMapper
getExceptionMapper()
FlushMode
getInitialSessionFlushMode()
Interceptor
getInterceptor()
TimeZone
getJdbcTimeZone()
PhysicalConnectionHandlingMode
getPhysicalConnectionHandlingMode()
StatementInspector
getStatementInspector()
String
getTenantIdentifier()
Object
getTenantIdentifierValue()
boolean
isSubselectFetchEnabled()
boolean
shouldAutoClear()
boolean
shouldAutoClose()
boolean
shouldAutoJoinTransactions()
-
-
-
Method Detail
-
shouldAutoJoinTransactions
boolean shouldAutoJoinTransactions()
-
getInitialSessionFlushMode
FlushMode getInitialSessionFlushMode()
-
isSubselectFetchEnabled
boolean isSubselectFetchEnabled()
-
getDefaultBatchFetchSize
int getDefaultBatchFetchSize()
-
shouldAutoClose
boolean shouldAutoClose()
-
shouldAutoClear
boolean shouldAutoClear()
-
getConnection
Connection getConnection()
-
getInterceptor
Interceptor getInterceptor()
-
getStatementInspector
StatementInspector getStatementInspector()
-
getPhysicalConnectionHandlingMode
PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
-
getTenantIdentifier
String getTenantIdentifier()
-
getTenantIdentifierValue
Object getTenantIdentifierValue()
-
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()
-
-