Top Description Constructors Methods
org.hibernate.engine.spi

public abstract Class AbstractDelegatingSessionBuilderImplementor<T extends org.hibernate.engine.spi.SessionBuilderImplementor>

extends AbstractDelegatingSessionBuilder<T extends SessionBuilderImplementor>
implements SessionBuilderImplementor<T extends SessionBuilderImplementor>
Class Inheritance
All Implemented Interfaces
org.hibernate.engine.spi.SessionBuilderImplementor, org.hibernate.SessionBuilder

Base class for SessionBuilderImplementor implementations that wish to implement only parts of that contract themselves while forwarding other method invocations to a delegate instance.
Author
Gunnar Morling

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected SessionBuilderImplementor<T extends SessionBuilder<T extends SessionBuilder>>
public T
owner(SessionOwner
The session owner.
sessionOwner
)

Implements org.hibernate.engine.spi.SessionBuilderImplementor.owner.

Deprecated as a consequence of SessionOwner being deprecated.
Adds the session owner to the session options
Inherited from org.hibernate.engine.spi.AbstractDelegatingSessionBuilder:
autoClearautoCloseautoJoinTransactionsclearEventListenersconnectionconnectionHandlingModeconnectionReleaseModeeventListenersflushBeforeCompletionflushModegetThisinterceptorjdbcTimeZonenoInterceptoropenSessionsetQueryParameterValidationstatementInspectortenantIdentifier

Constructor Detail

AbstractDelegatingSessionBuilderImplementorback to summary
public AbstractDelegatingSessionBuilderImplementor(SessionBuilderImplementor<T extends SessionBuilder<T extends SessionBuilder>> delegate)

Method Detail

delegateback to summary
protected SessionBuilderImplementor<T extends SessionBuilder<T extends SessionBuilder>> delegate()

Overrides org.hibernate.engine.spi.AbstractDelegatingSessionBuilder.delegate.

ownerback to summary
public T owner(SessionOwner sessionOwner)

Implements org.hibernate.engine.spi.SessionBuilderImplementor.owner.

Doc from org.hibernate.engine.spi.SessionBuilderImplementor.owner.

Deprecated

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

Adds the session owner to the session options

Parameters
sessionOwner:SessionOwner

The session owner.

Returns:T

this, for method chaining

Annotations
@SuppressWarnings:unchecked, deprecation
@Override