Uses of Interface
org.hibernate.SessionBuilder
-
Packages that use SessionBuilder Package Description org.hibernate This package defines the central Hibernate APIs, beginning withSessionFactory, which represents an instance of Hibernate at runtime and is the source of new instances ofSessionandStatelessSession, the most important APIs exposing persistence-related operations for entities.org.hibernate.context.spi SPI-level contracts around "current session" and "current tenant" support.org.hibernate.engine.spi This package defines some central internal SPI abstractions used throughout the implementation of Hibernate. -
-
Uses of SessionBuilder in org.hibernate
Subinterfaces of SessionBuilder in org.hibernate Modifier and Type Interface Description interfaceSharedSessionBuilderSpecializedSessionBuilderwith access to stuff from another session.Methods in org.hibernate that return SessionBuilder Modifier and Type Method Description SessionBuilderSessionBuilder. autoClear(boolean autoClear)Should the session be automatically cleared on a failed transaction?SessionBuilderSessionBuilder. autoClose(boolean autoClose)Should the session be automatically closed after transaction completion?SessionBuilderSessionBuilder. autoJoinTransactions(boolean autoJoinTransactions)Should the session built automatically join in any ongoing JTA transactions.SessionBuilderSessionBuilder. clearEventListeners()Remove all listeners intended for the built session currently held here, including any auto-apply ones; in other words, start with a clean slate.SessionBuilderSessionBuilder. connection(Connection connection)Adds a specific connection to the session options.SessionBuilderSessionBuilder. connectionHandlingMode(PhysicalConnectionHandlingMode mode)Signifies that the connection release mode from the original session should be used to create the new session.SessionBuilderSessionBuilder. eventListeners(SessionEventListener... listeners)Add one or moreSessionEventListenerinstances to the list of listeners for the new session to be built.SessionBuilderSessionBuilder. flushMode(FlushMode flushMode)Specify the initial FlushMode to use for the opened SessionSessionBuilderSessionBuilder. interceptor(Interceptor interceptor)Adds a specific interceptor to the session options.SessionBuilderSessionBuilder. jdbcTimeZone(TimeZone timeZone)SessionBuilderSessionBuilder. noInterceptor()Signifies that noInterceptorshould be used.SessionBuilderSessionBuilder. statementInspector(StatementInspector statementInspector)Applies the givenStatementInspectorto the session.SessionBuilderSessionBuilder. tenantIdentifier(Object tenantIdentifier)Define the tenant identifier to be associated with the opened session.SessionBuilderSessionBuilder. tenantIdentifier(String tenantIdentifier)Deprecated, for removal: This API element is subject to removal in a future version.UsetenantIdentifier(Object)insteadSessionBuilderSessionFactory. withOptions()Obtain a session builder for creating newSessions with certain customized options. -
Uses of SessionBuilder in org.hibernate.context.spi
Methods in org.hibernate.context.spi that return SessionBuilder Modifier and Type Method Description protected SessionBuilderAbstractCurrentSessionContext. baseSessionBuilder() -
Uses of SessionBuilder in org.hibernate.engine.spi
Subinterfaces of SessionBuilder in org.hibernate.engine.spi Modifier and Type Interface Description interfaceSessionBuilderImplementorDefines the internal contract between theSessionBuilderand other parts of Hibernate.Classes in org.hibernate.engine.spi that implement SessionBuilder Modifier and Type Class Description classAbstractDelegatingSessionBuilderBase class forSessionBuilderimplementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.classAbstractDelegatingSessionBuilderImplementorBase class forSessionBuilderImplementorimplementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.classAbstractDelegatingSharedSessionBuilderBase class forSharedSessionBuilderimplementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.Methods in org.hibernate.engine.spi that return SessionBuilder Modifier and Type Method Description SessionBuilderAbstractDelegatingSessionBuilder. autoClear(boolean autoClear)SessionBuilderAbstractDelegatingSessionBuilder. autoClose(boolean autoClose)SessionBuilderAbstractDelegatingSessionBuilder. autoJoinTransactions(boolean autoJoinTransactions)SessionBuilderAbstractDelegatingSessionBuilder. clearEventListeners()SessionBuilderAbstractDelegatingSessionBuilder. connection(Connection connection)SessionBuilderAbstractDelegatingSessionBuilder. connectionHandlingMode(PhysicalConnectionHandlingMode mode)protected SessionBuilderAbstractDelegatingSessionBuilder. delegate()SessionBuilderAbstractDelegatingSessionBuilder. eventListeners(SessionEventListener... listeners)SessionBuilderAbstractDelegatingSessionBuilder. flushMode(FlushMode flushMode)protected SessionBuilderAbstractDelegatingSessionBuilder. getThis()SessionBuilderAbstractDelegatingSessionBuilder. interceptor(Interceptor interceptor)SessionBuilderAbstractDelegatingSessionBuilder. jdbcTimeZone(TimeZone timeZone)SessionBuilderAbstractDelegatingSessionBuilder. noInterceptor()SessionBuilderAbstractDelegatingSessionBuilder. statementInspector(StatementInspector statementInspector)SessionBuilderAbstractDelegatingSessionBuilder. tenantIdentifier(Object tenantIdentifier)SessionBuilderAbstractDelegatingSessionBuilder. tenantIdentifier(String tenantIdentifier)Constructors in org.hibernate.engine.spi with parameters of type SessionBuilder Constructor Description AbstractDelegatingSessionBuilder(SessionBuilder delegate)
-