Home » Search

About EntityManagerFactory

51-60 of 200Refresh
JDO Doc
4

getPersistenceManagerFactory(overrides, name, resourceLoader, pmfLoader)

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

getTransactionType()

Method javax.persistence.spi.PersistenceUnitInfo PersistenceUnitTransactionType getTransactionType() Returns the transaction type of the entity managers created by the EntityManagerFactory ... : transaction type of the entity managers created by the EntityManagerFactory Since: JPA 1.0
JPA Doc
4

javax.persistence.EntityManager

Since: JPA 1.0 EntityManagerFactory getEntityManagerFactory() Return the entity manager factory for the entity manager. Return the entity manager factory for the entity manager. Returns: EntityManagerFactory
Forum
3

Internal exception when updating date filed (TemporalType.DATE)

GENERATE_PERSONS_COUNT = 1000;         private EntityManagerFactory entityManagerFactory ... ) {             entityManagerFactory = Persistence.createEntityManagerFactory(connectionString);             entityManager = entityManagerFactory.createEntityManager();         }         public void
JDO Doc
3

javax.jdo.PersistenceManagerFactory

semantics as the same-named property in JSR-220 EntityManagerFactory. Parameters: name
JPA Doc
3

javax.persistence.PersistenceUnit

javax.persistence Annotation PersistenceUnit Target: Classes and fields (including property get methods) Expresses a dependency on an EntityManagerFactory and its associated persistence unit. Since: JPA 1.0 String name (Optional) The name by which the entity manager factory is to be accessed in
JPA Doc
3

javax.persistence.spi.PersistenceUnitTransactionType

> Specifies whether entity managers created by the javax.persistence.EntityManagerFactory will be JTA or
JDO Doc
3

setTransactionType(name)

Method javax.jdo.PersistenceManagerFactory void setTransactionType(   String name ) Sets the TransactionType for this PersistenceManagerFactory. Permitted values are "JTA" and "RESOURCE_LOCAL". This has the same semantics as the same-named property in JSR-220 EntityManagerFactory. Parameters: name
Forum
3

Connection is closed Caused by: java.io.EOFException

Test {     public static void main(String[] args) {         EntityManagerFactory emf = Persistence ... ) {         EntityManagerFactory emf = Persistence.createEntityManagerFactory(             "objectdb://localhost/test.odb;user ... the EntityManagerFactory.  I have now added a method which I explicitly call  after I am finished with use
Forum
2

Memory consumption of empty Strings

[] args) {     EntityManagerFactory entityManagerFactory = Persistence.createEntityManagerFactory("sscce.odb");     EntityManager entityManager = entityManagerFactory.createEntityManager ... ();     entityManagerFactory.close();     System.out.println("let's create a heap dump