Home » Search

About EntityManagerFactory

41-50 of 200 Refresh
Manual
10

Working with JPA Entity Objects

a level 2 shared cache for the EntityManagerFactory as well as other caches as explained in
JPA Doc
9

javax.persistence.spi.PersistenceProvider

class in Java SE environments to create an javax.persistence. EntityManagerFactory. Since: JPA 1.0 EntityManagerFactory createContainerEntityManagerFactory( PersistenceUnitInfo info, Map map) Called by the container when an EntityManagerFactory is to be created. Called by the container
JPA Doc
8

javax.persistence.Persistence

Bootstrap class that is used to obtain an EntityManagerFactory in Java SE environments. The Persistence ... Persistence in Chapter 3 of the ObjectDB/JPA manual. EntityManagerFactory createEntityManagerFactory(String persistenceUnitName) Create and return an EntityManagerFactory for the named persistence unit
JPA Doc
6

javax.persistence.spi.PersistenceUnitInfo

by the persistence provider when creating an javax.persistence. EntityManagerFactory. Since: JPA 1.0 ... () Returns the transaction type of the entity managers created by the EntityManagerFactory. Returns the transaction type of the entity managers created by the EntityManagerFactory. The transaction type
JPA Doc
5

createContainerEntityManagerFactory(info, map)

Method javax.persistence.spi.PersistenceProvider EntityManagerFactory createContainerEntityManagerFactory(   PersistenceUnitInfo info,   Map map ) Called by the container when an EntityManagerFactory ... : EntityManagerFactory for the persistence unit specified by the metadata Since: JPA 1.0
JPA Doc
5

createEntityManagerFactory(emName, map)

Method javax.persistence.spi.PersistenceProvider EntityManagerFactory createEntityManagerFactory(   String emName,   Map map ) Called by Persistence class when an EntityManagerFactory ... (and may be null if no properties are specified). Returns: EntityManagerFactory for the persistence
JDO Doc
5

javax.jdo.JDOHelper

.persistence. EntityManagerFactory cast to a PersistenceManagerFactory. Returns a PersistenceManagerFactory ... . EntityManagerFactory cast to a PersistenceManagerFactory. If the name given is null or consists only of whitespace ... . EntityManagerFactory classes Returns: the PersistenceManagerFactory with properties in the given
JPA Doc
4

createEntityManagerFactory(persistenceUnitName)

Static Method javax.persistence.Persistence EntityManagerFactory createEntityManagerFactory(   String persistenceUnitName ) Create and return an EntityManagerFactory for the named persistence unit. Parameters: persistenceUnitName - the name of the persistence unit Returns: the factory that creates
JPA Doc
4

createEntityManagerFactory(persistenceUnitName, properties)

Static Method javax.persistence.Persistence EntityManagerFactory createEntityManagerFactory(   String persistenceUnitName,   Map properties ) Create and return an EntityManagerFactory for the named persistence unit using the given properties. Parameters: persistenceUnitName - the name
JPA Doc
4

getEntityManagerFactory()

Method javax.persistence.EntityManager EntityManagerFactory getEntityManagerFactory() Return the entity manager factory for the entity manager. Returns: EntityManagerFactory instance Throws: IllegalStateException - if the entity manager has been closed Since: JPA 2.0