Internal Website Search

181-190 of 200 resultsRefresh

Entity is not related to ObjectDB, but i get exception from ObjectDB

. We are using ORM Hibernate
When getting this entity from PostgreSQL with the key EntityManager.find(id ... .java:1361) [hibernate-entitymanager-4.0.1.Final.jar:4.0.1.Final] at org.hibernate.ejb.AbstractEntityManagerImpl.find( [hibernate-entitymanager-4.0.1.Final.jar:4.0

500Mb ObjectDb database opening issue

_EntityManager = m_EntityMgrFactory.createEntityManager(); String.format( "took [%d ... (path); EntityManager em = emf.createEntityManager(); ms ... _EntityManager = m_EntityMgrFactory.createEntityManager(); m_EntityManager.close(); m

First query takes 4+ minutes to complete

;   Operation We use two EntityManagers in our code, each running in a different thread: 1. The first EntityManager only adds ... a transaction. 2. The 2nd EntityManager runs the queries (JPQL SELECT statements) shown

Glassfish 4 AbstractMethodError: com.objectdb.jpa.EMF.createEntityManager

(Ljavax/persistence/SynchronizationType;Ljava/util/Map;)Ljavax/persistence/EntityManager; at com.sun.ejb ... /EntityManager; at com.sun.enterprise.container.common.impl.EntityManagerWrapper._getDelegate ... /SynchronizationType;Ljava/util/Map;)Ljavax/persistence/EntityManager; at com.sun.ejb.containers

Can't get arraylist/vector type attributes

it works fine, I get the object. But when I call the close method to close the EntityManager ... , if BEFORE closing the entitymanager I write something like vector.size() or I print it's size or I ... . when the EntityManager is open. When you close the

NullPointerException while setting a new property value

) { final EntityManager em = getEntityManager(); try { em.getTransaction().begin ... should have its own EntityManager and entities. According to the JPA ... thread safe EntityManager and persistence context in ObjectDB

EntityTransaction.commit() does not release a pessimistic lock

.odb"); EntityManager em = emf.createEntityManager(); em.getTransaction().begin(); em.persist(new Account(0)); em.getTransaction().commit(); // update EntityManager em1 ... again EntityManager em2 = emf.createEntityManager(); em2.getTransaction().begin(); Account a2

Update more than 10000 entities by an update query fails

"); EntityManager emOne = emf.createEntityManager(); emOne.getTransaction().begin(); emOne ... ); } emOne.getTransaction().commit(); emOne.close(); EntityManager emTwo = emf ... .close(); EntityManager emThree = emf.createEntityManager(); emThree

Large (and growing) numbers of ODB-StoreHandler Threads

; Is there a one to one mapping between EntityManagerFactories or EntityManagers in the application?EntityManager) is served by a separate StoreHandler ... ">EntityManager is properly closed when not in use anymore. In addition, you may set

stress test -> com.objectdb.o.InternalException: null

> Firstly to OpenEJB that closed the EntityManagerEntityManager) that had to commit changes using the connection ... ; EntityManager em1 = emf.createEntityManager();         em1