|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.ejb.AvailableSettings org.hibernate.ejb.HibernatePersistence
public class HibernatePersistence
Hibernate EJB3 persistence provider implementation
Field Summary |
---|
Constructor Summary | |
---|---|
HibernatePersistence()
|
Method Summary | |
---|---|
EntityManagerFactory |
createContainerEntityManagerFactory(PersistenceUnitInfo info,
Map properties)
Create an entity manager factory from the given persistence unit info, using the specified properties (they override any on the PUI). |
EntityManagerFactory |
createEntityManagerFactory(Map properties)
Deprecated. |
EntityManagerFactory |
createEntityManagerFactory(String persistenceUnitName,
Map properties)
Get an entity manager factory by its entity manager name, using the specified properties (they override any found in the peristence.xml file). |
ProviderUtil |
getProviderUtil()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HibernatePersistence()
Method Detail |
---|
public EntityManagerFactory createEntityManagerFactory(String persistenceUnitName, Map properties)
createEntityManagerFactory
in interface PersistenceProvider
persistenceUnitName
- entity manager nameproperties
- The explicit property values
public EntityManagerFactory createContainerEntityManagerFactory(PersistenceUnitInfo info, Map properties)
createContainerEntityManagerFactory
in interface PersistenceProvider
info
- The persistence unit informationproperties
- The explicit property values
@Deprecated public EntityManagerFactory createEntityManagerFactory(Map properties)
public ProviderUtil getProviderUtil()
getProviderUtil
in interface PersistenceProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |