Package org.hibernate.internal
Interface SessionCreationOptions
- All Known Subinterfaces:
SharedSessionCreationOptions
- All Known Implementing Classes:
SessionFactoryImpl.SessionBuilderImpl
,SessionFactoryImpl.StatelessSessionBuilderImpl
public interface SessionCreationOptions
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
boolean
-
Method Details
-
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()
-