Interface HibernateEntityManager

  • All Superinterfaces:
    jakarta.persistence.EntityManager, QueryProducer

    @Deprecated
    public interface HibernateEntityManager
    extends jakarta.persistence.EntityManager, QueryProducer
    Deprecated.
    (since 5.2) Use Session (or SessionImplementor), as it now extends EntityManager directly
    Additional contract for Hibernate implementations of EntityManager providing access to various Hibernate specific functionality.
    • Method Detail

      • getSession

        Session getSession()
        Deprecated.
        Retrieve a reference to the Hibernate Session used by this EntityManager.
        Returns:
        The session