public final class HibernateEntityManagerProvider extends Object implements EntityManagerProvider
Constructor and Description |
---|
HibernateEntityManagerProvider(org.hibernate.SessionFactory sessionFactory) |
Modifier and Type | Method and Description |
---|---|
javax.persistence.EntityManager |
getEntityManager()
Get the JPA EntityManager object from the current request's transaction.
|
public HibernateEntityManagerProvider(org.hibernate.SessionFactory sessionFactory)
public javax.persistence.EntityManager getEntityManager()
EntityManagerProvider
getEntityManager
in interface EntityManagerProvider
Copyright © 2003–2019 Atlassian. All rights reserved.