|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.datanucleus.jpa.EntityManagerFactoryImpl
com.force.sdk.jpa.ForceEntityManagerFactory
public class ForceEntityManagerFactory
Factory for creating the ForceEntityManager.
Field Summary |
---|
Fields inherited from class org.datanucleus.jpa.EntityManagerFactoryImpl |
---|
LOCALISER, LOGGER, pmf |
Constructor Summary | |
---|---|
ForceEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo unitInfo,
Map overridingProps)
creates an entity manager factory with the given persistence unit info and property overrides. |
|
ForceEntityManagerFactory(String unitName,
Map overridingProps)
creates an entity manager factory via the unit name. |
Method Summary | |
---|---|
protected javax.persistence.EntityManager |
newEntityManager(javax.persistence.PersistenceContextType contextType,
javax.jdo.PersistenceManagerFactory pmf)
|
Methods inherited from class org.datanucleus.jpa.EntityManagerFactoryImpl |
---|
assertIsClosed, close, createEntityManager, createEntityManager, getCache, getCriteriaBuilder, getIdentifier, getMetamodel, getPersistenceUnitUtil, getProperties, getQueryCache, getQueryDatastoreCompilationCache, getQueryGenericCompilationCache, getSupportedProperties, initialisePMF, isContainerManaged, isLoaded, isLoaded, isOpen |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ForceEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo unitInfo, Map overridingProps)
unitInfo
- the persistence unit info for this applicationoverridingProps
- a map of properties that should override the properties in the persistence unitpublic ForceEntityManagerFactory(String unitName, Map overridingProps)
unitName
- the name of the persistence unit to useoverridingProps
- a map of properties that should override the properties in the persistence unitMethod Detail |
---|
protected javax.persistence.EntityManager newEntityManager(javax.persistence.PersistenceContextType contextType, javax.jdo.PersistenceManagerFactory pmf)
newEntityManager
in class org.datanucleus.jpa.EntityManagerFactoryImpl
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |