/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.engine.spi;
import org.hibernate.SessionBuilder;
Defines the internal contract between the SessionBuilder and other parts of
Hibernate..
Author: Gail Badner See Also: - SessionBuilder
/**
* Defines the internal contract between the <tt>SessionBuilder</tt> and other parts of
* Hibernate..
*
* @see org.hibernate.SessionBuilder
*
* @author Gail Badner
*/
public interface SessionBuilderImplementor<T extends SessionBuilder> extends SessionBuilder<T> {
Adds the session owner to the session options
Params: - sessionOwner – The session owner.
Returns: this
, for method chainingDeprecated: (since 5.2) since consolidating hibernate-entitymanager into hibernate-core
I believe this is no longer needed.
/**
* Adds the session owner to the session options
*
* @param sessionOwner The session owner.
*
* @return {@code this}, for method chaining
*
* @deprecated (since 5.2) since consolidating hibernate-entitymanager into hibernate-core
* I believe this is no longer needed.
*/
@Deprecated
T owner(SessionOwner sessionOwner);
}