Uses of Interface
org.hibernate.SharedSessionBuilder
Package
Description
This package defines the central Hibernate APIs, beginning with
SessionFactory
, which represents an instance of
Hibernate at runtime and is the source of new instances of
Session
and StatelessSession
,
the most important APIs exposing persistence-related operations for
entities.This package defines some central internal SPI abstractions
used throughout the implementation of Hibernate.
An internal package containing implementations of central Hibernate APIs,
mostly defined in
org.hibernate
.-
Uses of SharedSessionBuilder in org.hibernate
Modifier and TypeMethodDescriptionSharedSessionBuilder.autoClear
(boolean autoClear) SharedSessionBuilder.autoClose()
Signifies that the autoClose flag from the original session should be used to create the new session.SharedSessionBuilder.autoClose
(boolean autoClose) SharedSessionBuilder.autoJoinTransactions()
Signifies that the autoJoinTransaction flag from the original session should be used to create the new session.SharedSessionBuilder.autoJoinTransactions
(boolean autoJoinTransactions) SharedSessionBuilder.clearEventListeners()
SharedSessionBuilder.connection()
Signifies that the connection from the original session should be used to create the new session.SharedSessionBuilder.connection
(Connection connection) SharedSessionBuilder.connectionHandlingMode()
Signifies that the connection release mode from the original session should be used to create the new session.SharedSessionBuilder.connectionHandlingMode
(PhysicalConnectionHandlingMode mode) SharedSessionBuilder.connectionReleaseMode()
Deprecated.SharedSessionBuilder.eventListeners
(SessionEventListener... listeners) SharedSessionBuilder.flushMode()
Signifies that the FlushMode from the original session should be used to create the new session.SharedSessionBuilder.interceptor()
Signifies the interceptor from the original session should be used to create the new session.SharedSessionBuilder.interceptor
(Interceptor interceptor) SharedSessionBuilder.jdbcTimeZone
(TimeZone timeZone) SharedSessionBuilder.noInterceptor()
Session.sessionWithOptions()
Obtain aSession
builder with the ability to copy certain information from this session.SharedSessionBuilder.statementInspector
(StatementInspector statementInspector) SharedSessionBuilder.tenantIdentifier
(Object tenantIdentifier) SharedSessionBuilder.tenantIdentifier
(String tenantIdentifier) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of SharedSessionBuilder in org.hibernate.engine.spi
Modifier and TypeClassDescriptionclass
Base class forSharedSessionBuilder
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.Modifier and TypeMethodDescriptionAbstractDelegatingSharedSessionBuilder.autoClear
(boolean autoClear) AbstractDelegatingSharedSessionBuilder.autoClose()
AbstractDelegatingSharedSessionBuilder.autoClose
(boolean autoClose) AbstractDelegatingSharedSessionBuilder.autoJoinTransactions()
AbstractDelegatingSharedSessionBuilder.autoJoinTransactions
(boolean autoJoinTransactions) AbstractDelegatingSharedSessionBuilder.clearEventListeners()
AbstractDelegatingSharedSessionBuilder.connection()
AbstractDelegatingSharedSessionBuilder.connection
(Connection connection) AbstractDelegatingSharedSessionBuilder.connectionHandlingMode()
AbstractDelegatingSharedSessionBuilder.connectionHandlingMode
(PhysicalConnectionHandlingMode mode) AbstractDelegatingSharedSessionBuilder.connectionReleaseMode()
Deprecated.AbstractDelegatingSharedSessionBuilder.delegate()
AbstractDelegatingSharedSessionBuilder.eventListeners
(SessionEventListener... listeners) AbstractDelegatingSharedSessionBuilder.flushMode()
protected SharedSessionBuilder
AbstractDelegatingSharedSessionBuilder.getThis()
AbstractDelegatingSharedSessionBuilder.interceptor()
AbstractDelegatingSharedSessionBuilder.interceptor
(Interceptor interceptor) AbstractDelegatingSharedSessionBuilder.jdbcTimeZone
(TimeZone timeZone) AbstractDelegatingSharedSessionBuilder.noInterceptor()
SessionDelegatorBaseImpl.sessionWithOptions()
SessionLazyDelegator.sessionWithOptions()
AbstractDelegatingSharedSessionBuilder.statementInspector
(StatementInspector statementInspector) AbstractDelegatingSharedSessionBuilder.tenantIdentifier
(Object tenantIdentifier) AbstractDelegatingSharedSessionBuilder.tenantIdentifier
(String tenantIdentifier) ModifierConstructorDescription -
Uses of SharedSessionBuilder in org.hibernate.internal
connectionHandlingMode()
instead.