接口 SessionCreationOptions
-
- 所有已知子接口:
SharedSessionCreationOptions
public interface SessionCreationOptions- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 已过时的方法 修饰符和类型 方法 说明 AfterCompletionActiongetAfterCompletionAction()ConnectiongetConnection()List<SessionEventListener>getCustomSessionEventListener()ExceptionMappergetExceptionMapper()FlushModegetInitialSessionFlushMode()InterceptorgetInterceptor()TimeZonegetJdbcTimeZone()ManagedFlushCheckergetManagedFlushChecker()PhysicalConnectionHandlingModegetPhysicalConnectionHandlingMode()SessionOwnergetSessionOwner()已过时。(since 5,2) SessionOwner is no longer pertinent due to the hibernate-entitymanager -> hibernate-core consolidationStatementInspectorgetStatementInspector()StringgetTenantIdentifier()booleanisQueryParametersValidationEnabled()booleanshouldAutoClear()booleanshouldAutoClose()booleanshouldAutoJoinTransactions()
-
-
-
方法详细资料
-
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()
- 返回:
- the full list of SessionEventListener if this was customized, or null if this Session is being created with the default list.
-
getSessionOwner
@Deprecated SessionOwner getSessionOwner()
已过时。(since 5,2) SessionOwner is no longer pertinent due to the hibernate-entitymanager -> hibernate-core consolidationAccess to the SessionOwner, which defines the contract for things that can wrap a Session- 返回:
- Always returns null.
-
getExceptionMapper
ExceptionMapper getExceptionMapper()
-
getAfterCompletionAction
AfterCompletionAction getAfterCompletionAction()
-
getManagedFlushChecker
ManagedFlushChecker getManagedFlushChecker()
-
isQueryParametersValidationEnabled
boolean isQueryParametersValidationEnabled()
-
-