About EntityManagerFactory

161-170 of 200Refresh
Issue
1

ObjectDB can't be activated

EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb://localhost:6136/test ... code (using a ssh-tunel over port 1234 to local port 6136): EntityManagerFactory emf = Persistence
Forum
1

odb files and config file

/. But there were no obd files in it. I'm getting my EntityManager by doing this: EntityManagerFactory emf ... /main/java/webapp/WEB-INF/db/? I tried this: EntityManagerFactory emf = Persistence
Forum
1

ODB tries to create log files inside its own jar on Win7

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

Online backup problem

that you are using to run the backup. This is the code I used in my servlet : EntityManagerFactory emf ... standalone application - with the same result.   EntityManagerFactory emf = Persistence
Forum
1

Optimistic locking: prevent version increment on entity collection attribute

public void test() throws IOException { EntityManagerFactory emf = Persistence ... ; } } @org.junit.Test public void test() throws IOException { EntityManagerFactory emf
Forum
1

Performance and memory usage of queries

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

Performance problem

(probably related to the number of related objects) First version of code:     EntityManagerFactory emf ... :     EntityManagerFactory emf =         Persistence.createEntityManagerFactory(             "objectdb
Forum
1

persisting object with long[][] arrays of array

) {         EntityManagerFactory EMF = Persistence.createEntityManagerFactory("TESTDB.odb ... ret;     }     public static void main(String[] args) {         EntityManagerFactory EMF
Forum
1

Problem with distinct select, order by and equivalent alias/attribute path

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

Remove a modified entity cause an optimistic lock exception

void main(String[] args) {         EntityManagerFactory emf =             Persistence ... ) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory(                 "objectdb