Home » Search

About EntityManager

71-80 of 200Refresh
Forum
15

Suspected memleak caused by bad state of EntityManager

Our application manages the Entities itself, so we close the EntityManager after every creating ... and finalize, we found the problem is caused by bad state of EntityManager. After first throwing the InternalException, the EntityManager throws every time when doing merge operation, but it can be closed
Forum
15

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

from Metamodel of a differente EntityManager initialized on a @Controller @RequestMapping event. I ... is it: If I have two moments of initialization of "javax.persistence.metamodel" from EntityManager and these two metamodels come from different EntityManagers. One of these is on a @PostConstruct event
Forum
15

Eclipse4 RCP - No Persistence provider for EntityManager

.PersistenceException: No Persistence provider for EntityManager I'm using the latest ObjectDB 2.6.2.b03 ... an EntityManager) it may be because resources that are needed by createEntityManagerFactory (e.g. persistence.xml
Forum
15

EntityManager.refresh takes a long time

EntityManager.refresh takes a long time for entity object Person in this code:     logger.log(Level.INFO, "begin select for person " + new Date().toString());                TypedQueryEntitymanager updates only objects in his context
Forum
15

JPA - ExceptionInInitializerError when creating EntityManager

.EntityManagerFactoryImpl@ffa7e1 EntityManager emTemp = emf.createEntityManager(); TypedQueryEntityManager em = emf.createEntityManager();         try
Forum
15

EntityManager getMetamodel() causes crash

I am trying to track down some obscure errors with multi-threading.  This involved looking at the EntityManager Metamodel but this caused an ObjectDB exception.  So I reverted to your example code in ... ;drop" EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); MyEntity e1
Issue
15

DB persist operation results are not available for another Thread/EntityManager immdiately

Hello, we have following situation: The EntityManagerFactory is always opened and won't be closed. Thread A with its own EntityManager persists entities and commits the entities successfully. Thread B runs afterwards also with its own EntityManager and tries to load the persisted entities by
Forum
15

"No Persistence provider for EntityManager" in OSGI bundle.

provider for EntityManager named $objectdb/myDB.odb at javax.persistence.Persistence
Forum
15

EntityManager.merge gives EntityNotFoundException

Just started using objectdb (2.3.4). Calling EntityManager.merge for a new (non-managed) object gives EntityNotFoundException. I am perplexed by this. See attached test case. Thanks for your assistance. Full error output is: Exception in thread "main" [ObjectDB 2.3.4] javax.persistence
Forum
15

javax.persistence.PersistenceException: No Persistence provider for EntityManager named in Karaf 4.0.7 and OSGi DS test

.persistence.PersistenceException: No Persistence provider for EntityManager named objectdb://localhost:6136