Uses of Interface
org.hibernate.engine.creation.CommonBuilder
Packages that use CommonBuilder
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.
-
Uses of CommonBuilder in org.hibernate
Subinterfaces of CommonBuilder in org.hibernateModifier and TypeInterfaceDescriptioninterface
Allows creation of a newSession
with specific options overriding the defaults from theSessionFactory
.interface
Allows creation of a childSession
which shares some options with another pre-existing parent session.interface
Allows creation of a childStatelessSession
which shares some options with another pre-existing parent session.interface
Allows creation of a newStatelessSession
with specific options overriding the defaults from theSessionFactory
. -
Uses of CommonBuilder in org.hibernate.engine.creation
Subinterfaces of CommonBuilder in org.hibernate.engine.creationModifier and TypeInterfaceDescriptioninterface
Methods in org.hibernate.engine.creation that return CommonBuilderModifier and TypeMethodDescriptionCommonBuilder.connection
(Connection connection) Adds a specific connection to the session options.CommonSharedBuilder.connection
(Connection connection) CommonBuilder.connectionHandling
(ConnectionAcquisitionMode acquisitionMode, ConnectionReleaseMode releaseMode) Specifies the connection handling modes for the session.CommonBuilder.initialCacheMode
(CacheMode cacheMode) Specify the initialCacheMode
for the session.CommonBuilder.interceptor
(Interceptor interceptor) Adds a specific interceptor to the session options.CommonBuilder.jdbcTimeZone
(TimeZone timeZone) Specify the JDBC time zone for the session.CommonBuilder.noInterceptor()
Specifies that noInterceptor
should be used.CommonBuilder.noSessionInterceptorCreation()
Specifies that no session-scoped interceptor should be instantiated for the new session.CommonBuilder.noStatementInspector()
Signifies that no SQL statement inspector should be used.CommonBuilder.readOnly
(boolean readOnly) Specify a read-only mode for the session.CommonBuilder.statementInspector
(UnaryOperator<String> operator) Applies the given statement inspection function to the session.CommonBuilder.tenantIdentifier
(Object tenantIdentifier) Specify the tenant identifier to be associated with the opened session. -
Uses of CommonBuilder in org.hibernate.engine.creation.spi
Subinterfaces of CommonBuilder in org.hibernate.engine.creation.spiModifier and TypeInterfaceDescriptioninterface
Defines the internal contract between theSessionBuilder
and other parts of Hibernate.interface
-
Uses of CommonBuilder in org.hibernate.engine.spi
Classes in org.hibernate.engine.spi that implement CommonBuilderModifier and TypeClassDescriptionclass
Base class forSessionBuilder
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.class
Base class forSessionBuilderImplementor
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.class
Base class forSharedSessionBuilder
implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.