Top Methods
org.hibernate.internal

public Interface SessionCreationOptions

Known Direct Subinterfaces
org.hibernate.internal.SharedSessionCreationOptions
Known Direct Implementers
org.hibernate.internal.SessionFactoryImpl.SessionBuilderImpl, org.hibernate.internal.SessionFactoryImpl.StatelessSessionBuilderImpl
Imports
java.sql.Connection, java.util.List, .TimeZone, org.hibernate.FlushMode, .Interceptor, .SessionEventListener, org.hibernate.engine.spi.SessionOwner, org.hibernate.resource.jdbc.spi.PhysicalConnectionHandlingMode, .StatementInspector, org.hibernate.resource.transaction.backend.jta.internal.synchronization.AfterCompletionAction, .ExceptionMapper, .ManagedFlushChecker

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public AfterCompletionAction
getAfterCompletionAction()

Deprecated as a consequence of AfterCompletionAction being deprecated.
public Connection
public List<SessionEventListener>

Returns:

the full list of SessionEventListener if this was customized, or null if this Session is being created with the default list.
getCustomSessionEventListener
()

public ExceptionMapper
public FlushMode
public Interceptor
public TimeZone
public ManagedFlushChecker
getManagedFlushChecker()

Deprecated as a consequence of ManagedFlushChecker being deprecated.
public PhysicalConnectionHandlingMode
public SessionOwner

Returns:

Always returns null.
getSessionOwner
()

Deprecated (since 5,2) SessionOwner is no longer pertinent due to the hibernate-entitymanager -> hibernate-core consolidation
Access to the SessionOwner, which defines the contract for things that can wrap a Session
public StatementInspector
public String
public boolean
public boolean
public boolean
public boolean

Method Detail

getAfterCompletionActionback to summary
public AfterCompletionAction getAfterCompletionAction()

Deprecated

as a consequence of AfterCompletionAction being deprecated. See corresponding docs for further information.

getConnectionback to summary
public Connection getConnection()
getCustomSessionEventListenerback to summary
public List<SessionEventListener> getCustomSessionEventListener()
Returns:List<SessionEventListener>

the full list of SessionEventListener if this was customized, or null if this Session is being created with the default list.

getExceptionMapperback to summary
public ExceptionMapper getExceptionMapper()
getInitialSessionFlushModeback to summary
public FlushMode getInitialSessionFlushMode()
getInterceptorback to summary
public Interceptor getInterceptor()
getJdbcTimeZoneback to summary
public TimeZone getJdbcTimeZone()
getManagedFlushCheckerback to summary
public ManagedFlushChecker getManagedFlushChecker()

Deprecated

as a consequence of ManagedFlushChecker being deprecated. See corresponding docs for further information.

getPhysicalConnectionHandlingModeback to summary
public PhysicalConnectionHandlingMode getPhysicalConnectionHandlingMode()
getSessionOwnerback to summary
public SessionOwner getSessionOwner()

Deprecated

(since 5,2) SessionOwner is no longer pertinent due to the hibernate-entitymanager -> hibernate-core consolidation

Access to the SessionOwner, which defines the contract for things that can wrap a Session

Returns:SessionOwner

Always returns null.

Annotations
@Deprecated
getStatementInspectorback to summary
public StatementInspector getStatementInspector()
getTenantIdentifierback to summary
public String getTenantIdentifier()
isQueryParametersValidationEnabledback to summary
public boolean isQueryParametersValidationEnabled()
shouldAutoClearback to summary
public boolean shouldAutoClear()
shouldAutoCloseback to summary
public boolean shouldAutoClose()
shouldAutoJoinTransactionsback to summary
public boolean shouldAutoJoinTransactions()