Home » Search

About EntityManagerFactory

161-170 of 200Refresh
Forum
1

Storing objects problem

to the problem that you have described. Main class:      EntityManagerFactory emf =              Persistence ... );     EntityManagerFactory emf =              Persistence.createEntityManagerFactory("$objectdb/db/test.odb
Forum
1

Strange behaviour with ORDER BY and IN

.EntityManagerFactory; import javax.persistence.Persistence; public class Main {     private static ... ) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory
Issue
1

Strange Error with Criteria API and Sorting

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

Unable to execute update query

) {             EntityManagerFactory emf =             Persistence.createEntityManagerFactory ... .put("javax.persistence.jdbc.password", "admin");         EntityManagerFactory emf
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