About EntityManagerFactory

181-190 of 200Refresh
Forum
1

Unable to persist fields in subclass

miscTests; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory ... main(String[] args) { EntityManagerFactory emf = Persistence.createEntityManagerFactory
Issue
1

Unexpected exception (Error 990) com.objectdb.o.InternalException

) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory ... static void main(String[] args) {         EntityManagerFactory emf =             Persistence
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