org.hibernate.engine.spi.SessionBuilderImplementor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* 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 .
*/
package org.hibernate.engine.spi;
import org.hibernate.SessionBuilder;
/**
* Defines the internal contract between the SessionBuilder and other parts of
* Hibernate..
*
* @see org.hibernate.SessionBuilder
*
* @author Gail Badner
*/
public interface SessionBuilderImplementor extends SessionBuilder {
/**
* 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);
}