|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.datanucleus.jpa.PersistenceProviderImpl
public class PersistenceProviderImpl
PersistenceProvider implementation. Provides a means of creating EntityManagerFactory objects.
| Constructor Summary | |
|---|---|
PersistenceProviderImpl()
Constructor. |
|
| Method Summary | |
|---|---|
javax.persistence.EntityManagerFactory |
createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo unitInfo,
java.util.Map properties)
Method to create an EntityManagerFactory when running in J2EE. |
javax.persistence.EntityManagerFactory |
createEntityManagerFactory(java.lang.String unitName,
java.util.Map properties)
Method to create an EntityManagerFactory when running in J2SE. |
javax.persistence.spi.ProviderUtil |
getProviderUtil()
|
javax.persistence.spi.LoadState |
isLoaded(java.lang.Object entity)
If the provider determines that the entity has been provided by itself and that the state of all attributes for which FetchType EAGER has been specified have been loaded, this method returns LoadState.LOADED. |
javax.persistence.spi.LoadState |
isLoadedWithoutReference(java.lang.Object entity,
java.lang.String memberName)
If the provider determines that the entity has been provided by itself and that the state of the specified attribute has been loaded, this method returns LoadState.LOADED. |
javax.persistence.spi.LoadState |
isLoadedWithReference(java.lang.Object entity,
java.lang.String memberName)
If the provider determines that the entity has been provided by itself and that the state of the specified attribute has been loaded, this method returns LoadState.LOADED. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PersistenceProviderImpl()
| Method Detail |
|---|
public javax.persistence.EntityManagerFactory createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo unitInfo,
java.util.Map properties)
createContainerEntityManagerFactory in interface javax.persistence.spi.PersistenceProviderunitInfo - The "persistence-unit"properties - EntityManagerFactory properties to override those in the persistence unit
public javax.persistence.EntityManagerFactory createEntityManagerFactory(java.lang.String unitName,
java.util.Map properties)
createEntityManagerFactory in interface javax.persistence.spi.PersistenceProviderunitName - Name of the "persistence-unit"properties - EntityManagerFactory properties to override those in the persistence unit
public javax.persistence.spi.LoadState isLoadedWithoutReference(java.lang.Object entity,
java.lang.String memberName)
isLoadedWithoutReference in interface javax.persistence.spi.ProviderUtilentity - The entitymemberName - Name of member whose load status is to be determined
public javax.persistence.spi.LoadState isLoadedWithReference(java.lang.Object entity,
java.lang.String memberName)
isLoadedWithReference in interface javax.persistence.spi.ProviderUtilentity - The entitymemberName - name of member whose load status is to be determined
public javax.persistence.spi.LoadState isLoaded(java.lang.Object entity)
isLoaded in interface javax.persistence.spi.ProviderUtilentity - whose loaded status is to be determined
public javax.persistence.spi.ProviderUtil getProviderUtil()
getProviderUtil in interface javax.persistence.spi.PersistenceProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||