About EntityManagerFactory

171-180 of 200Refresh
Forum
1

Updating Entities

EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/payrollDB.odb ... how to do this... Here's why... Main: Initializes EntityManagerFactory and EntityManagers Provides a mechanism to change JavaFX
Forum
1

use of Singleton into tomcat

hi all. i would write a class singleton that encapsulate the entitymanagerFACTORY    into it.(the entitymanagerFactory  IS A property of the only instance of class singleton. (the class singleton is not a Ejb!!!!!!!!!). into tomcat it not possible  use ejbs............. i have to manage
Forum
1

Wrong data stored in time only fields

.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence.GeneratedValue; import ... .MM.dd HH:mm:ss");                 EntityManagerFactory emf =             Persistence
Issue
1

Unexpected error when loading all entity instance

is stopped) do you close the ObjectDB database (EntityManagerFactory's close), e.g. using ... the result file healthy or corrupted? Hello, yes I close all instances of EntityManagerFactory instances
Forum
1

JPA - ExceptionInInitializerError when creating EntityManager

{ EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU ... {         javax.persistence.EntityManagerFactory emf = javax.persistence.Persistence
Forum
1

IN expression in a Criteria Query

public class T1108 {         public static void main(String[] args) {         EntityManagerFactory ... ) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory(                 "objectdb
Forum
1

Is there an update on running ObjectDB purely in-memory?

with one of these specified suffixes will be handled as a memory database, e.g.:     EntityManagerFactory emf ... . then i erase this line then i could able to run the explorer and server.  EntityManagerFactory emf
Issue
1

Getting an error when adding activation code to conf file

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

remove & persist in same transaction => Attempt to reuse an existing primary key value

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

Update more than 10000 entities by an update query fails

) { EntityManagerFactory emf; emf = Persistence.createEntityManagerFactory("objectdb:./db.tmp;drop ... () { EntityManagerFactory emf = TestEntityManagerFactory.createEntityManagerFactory(true