org.hibernate.jpa.HibernateEntityManager 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
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* 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.jpa;
import jakarta.persistence.EntityManager;
import org.hibernate.Session;
import org.hibernate.query.QueryProducer;
/**
* Additional contract for Hibernate implementations of {@link jakarta.persistence.EntityManager} providing access to various Hibernate
* specific functionality.
*
* @author Gavin King
*
* @deprecated (since 5.2) Use Session (or SessionImplementor), as it now extends EntityManager directly
*/
@Deprecated
public interface HibernateEntityManager extends EntityManager, QueryProducer {
/**
* Retrieve a reference to the Hibernate {@link org.hibernate.Session} used by this {@link jakarta.persistence.EntityManager}.
*
* @return The session
*/
Session getSession();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy