About EntityManager

171-180 of 200Refresh
Forum
1

Memory Leak?

EntityManager instances (PMImpl). The other instances are probably hold by the EntityManager instances, so the question is why the EntityManager instances are not released. The code that you posted ... I created an EntityManager (line 115). My bad. After I fixed it, no more memory explosion. I
Issue
1

new objects not available in mappedBy associations

after the transaction is committed (or after the update and before commit, if your EntityManager is set to use ... EntityManager? ps: setting FlushModeType.AUTO in the EntityManager resulted in a huge exception ... EntityManager? The argument to refresh is the object that contains the inverse field. This way
Forum
1

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

); entityManager.persist(city); entityManager.persist(person); The exception: java.lang ... Person(); person.setName(name); entityManager.persist(person ... .setCity(city); entityManager.persist(city); entityManager.persist
Forum
1

NullPointerException while setting a new property value

(Collection entityCollection) { final EntityManager em ... should have its own EntityManager and entities. According to the JPA specification: "An entity manager ... manner." Actually there is an attempt to provide thread safe EntityManager and persistence context
Issue
1

spuriously objectdb objects have null references

entityManager per thread and have a central point where we encapsulated all the needed entitymanager ... Object(); public static void begin(EntityManager threadEntityManager){ synchronized(lockBegin ... >(); ...       When an entity object is detached (e.g. when the EntityManager is closed), ObjectDB
Issue
1

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

that closed the EntityManager and moved its connection to the pool. Then to ObjectDB (on the just closed EntityManager) that had to commit changes using the connection (which has already been moved ... ");                 EntityManager em1 = emf.createEntityManager();         em1.getTransaction().begin();         em1.persist
Forum
1

Transaction isolation support?

when the fetch start? Martin   Every EntityManager manages its own memory objects (which represent database objects). Therefore, if an entity object is retrieved by one EntityManager and then updated in the database by another EntityManager, the first EntityManager may still have an old version of that entity
Forum
1

Type xxx is not found (error 301)

JPA application by obtaining PersistenceManager from your EntityManager:     em.unwrap ... ), so, what would the object be? oddly, I don't have an unwrap() method on my EntityManager?? also, I don't have a query (String, Class) method on my EntityManager > 3) use jdo from jpa - is there a performance penalty
Forum
1

Unexpected behaviour upon update. Bug?

=             Persistence.createEntityManagerFactory("ODB.odb"); EntityManager em = emf.createEntityManager ... the EntityManager as a managed entity object and it is returned with the update from the query. Changes in one EntityManager instance are invisible in other EntityManager instances until commit, but visible
Issue
1

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities ... system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en ... to the EntityManager whether one performs compile-time enhancement or runtime enhancement ? That is, does