About EntityManagerFactory

181-190 of 200Refresh
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
Forum
0

"Unexpected query expression" using CriteriaQuery FetchParent Interface

{ public static void main(String[] args) {   EntityManagerFactory emf = Persistence
Result
0

ObjectDB version 2.2.5

EntityManagerFactory instantiation. Fixed a bug in comparison of collections to values in queries.
Result
0

ObjectDB version 2.4.1

Version 2.4.1 Fixed a bug of duplicating new objects during merge. Fixed a username/password issue in using EntityManagerFactory's getMetamodel. Fixed a bug in detachment of hollow objects on close (issue #799). Fixed a Doctor exception (issue #796). Fixed a Doctor bug in checking byte[] arrays
Result
0

ObjectDB version 2.5.4

Version 2.5.4 Added empty implementation of new JPA 2.1 methods. Implemented new JPA 2.1 EntityManagerFactory methods: createEntityManager, unwrap. Improved retrieving persistent string fields by using "".intern() for empty strings. Fixed a bug in queries on composed embedded primary key (issue #1301).
Result
0

ObjectDB version 2.6.4

on EntityManagerFactory close. Fixed a bug in hierarchy schema upgrade. Fixed a bug in schema upgrade that includes both class and field renaming.
Forum
0

500Mb ObjectDb database opening issue

= System.currentTimeMillis(); EntityManagerFactory emf = Persistence
Forum
0

@ElementCollection of type enum

[] args) {         EntityManagerFactory emf =             Persistence.createEntityManagerFactory