Home » Search

About EntityManagerFactory

141-150 of 200 Refresh
Forum
1

Not able to update records

:758) Following is the code i am executing   EntityManagerFactory emFactory = Persistence ... : EntityManagerFactory emFactory = Persistence.createEntityManagerFactory(Constants.DATABASE_FILE_CLIENTSERVER_MODE
Issue
1

NullPointerException when using multithreading

application has a single instance of the EntityManagerFactory and each thread has its own instance ... .MINUTES);     factory.close(); After 3 minutes the EntityManagerFactory is closed
Forum
1

object creation during pmf.getPersistenceManager()

is opened and a PersistenceManagerFactory / EntityManagerFactory is created. These instances serve as ... for every managed class). Since the creation of a PersistenceManagerFactory / EntityManagerFactory
Forum
1

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

to traverse the LAZY relationship from the EntityManagerFactory and will able able to use it as long as the EntityManagerFactory is open. The connection used in not the transactional one and when you want
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