About EntityManagerFactory

81-90 of 200Refresh
Forum
1

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

._PersistenceException: Attempt to obtain a connection from a closed EntityManagerFactory at com ... EntityManagerFactory at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.OMF.ah(OMF.java:661) at com ... ._PersistenceException: Attempt to obtain a connection from a closed EntityManagerFactory at com.objectdb.o
Issue
1

Issues with JDO Casting & Full Qualified Names

; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence; public final class F328 { public static void main(String[] args) {   EntityManagerFactory emf = Persistence ... .persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence
Forum
1

Left join fetch behaviour doesn't retrieve children?

.persistence.EntityManagerFactory; import javax.persistence.Id; import javax.persistence.ManyToMany ... ObjectDbTest {     public static void main(String[] args)  {               EntityManagerFactory emf ... ) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb/db/test.tmp;drop
Forum
1

ObjectDB CRUD Examples

Would this be correct?     public List read() { EntityManagerFactory emf ... . Would this be correct?     public List read() { EntityManagerFactory emf = Persistence ... and see if it works. It would be more efficient to avoid creating and closing EntityManagerFactory instances
Forum
1

ODB IndexActivation NullPointerException

periods Do you mean with opening and closing the creation of EntityManagerFactory or of EntityManager ... the following code block after creating the EntityManagerFactory. this.entityManagerFactory ... = this.entityManagerFactory.createEntityManager(); final String indexActivationThreadName = "ODB
Forum
1

Schema Update: class hierarchy change

.EntityManagerFactory; import javax.persistence.Persistence; public final class Test { public static void main(String[] args) {   System.out.println("start");   EntityManagerFactory emf = Persistence ... .EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.Persistence
Forum
1

Unable to persist TreeMap

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... ) {         EntityManagerFactory emf = Persistence.createEntityManagerFactory(           "objectdb:D:\\eclipse ... .util.Map; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory
Issue
1

Weird issue with variable naming

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... ) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb/db/test ... .persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax
Forum
1

client server mod of communication

, in client server mode.    1)EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb://localhost:6137/settercode.odb;user=admin;password=admin");    2)EntityManagerFactory emf ... {       Getter gtr;     EntityManagerFactory emf = Persistence.createEntityManagerFactory
Issue
1

Best practise loading big data

. the EntityManagerFactory). If you need an advice regarding tuning cache sizes to reduce RAM please provide ... .persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence ... .delete(); } EntityManagerFactory emf = Persistence.createEntityManagerFactory("E:\\test.odb