Home » Search

About EntityManagerFactory

81-90 of 200Refresh
Forum
2

Unable to persist TreeMap

; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... ) {         EntityManagerFactory emf = Persistence.createEntityManagerFactory(           "objectdb:D:\\eclipse ... .util.Map; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory
Issue
2

Weird issue with variable naming

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

ArrayIndexOutOfBoundsException at com.objectdb.o.ALS.c(ALS.java:89)

.run(ForkJoinWorkerThread.java:325) Line 16 in ArpMonitor.scala: val emf: EntityManagerFactory ... to create a single EntityManagerFactory with multiple EntityManager instances. It is uncommon to create multiple EntityManagerFactory instances as demonstrated by your code. tuec
Forum
1

Entity factory

> entityClass); } EntityManagerFactory entityManagerFactory = (...); entityManagerFactory
Forum
1

Finding out the JPA provider

and EntityManagerFactory, but its not. So I am left with EntityManager.getDelegate() instanceof com.objectdb.jdo.PMImpl or EntityManagerFactory instanceof com.objectdb.jpa.EMF. Or putting something in ... for the "objectdb.home" property. In the EntityManagerFactory:     boolean isObjectDB = emf
Forum
1

mapping file is not being loaded

: EntityManagerFactory emf = Persistence.createEntitManagerFactory("project.odb"); //this set ... .EntityManagerFactory; import javax.persistence.Persistence; public class T824 {     public static void main(String[] args) {         EntityManagerFactory emf =             Persistence
Forum
1

Memory leak

when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit ... that 9 EntityManagerFactory instances have been created and have not been closed, and ObjectDB is very sensitive for closing every opened EntityManagerFactory. Please try build 2.5.4_05, which includes
Forum
1

Merge Issue: Attempt to reuse an existing primary key value

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

ObjectDB within a resource adapter module and Java EE Connector Architecture

an XML file in order to be able to generate an EntityManagerFactory. But when using ObjectDB ... of the ObjectDB database instead:' EntityManagerFactory emf = Persistence.createEntityManagerFactory("$objectdb/db/points.odb"); But if you are not using an explicit EntityManagerFactory it is not
Issue
1

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence ... [] args) {   EntityManagerFactory emf = Persistence.createEntityManagerFactory("objectdb:$objectdb/db ... {     public static void main(String[] args) {         EntityManagerFactory emf