Home » Search

About EntityManager

131-140 of 200Refresh
JPA Doc
2

javax.persistence.LockModeType

.persistence.EntityManager methods that take locks ( lock, find, or refresh) or to the Query
JPA Doc
2

javax.persistence.PersistenceContext

javax.persistence Annotation PersistenceContext Target: Classes and fields (including property get methods) Expresses a dependency on a container-managed EntityManager and its associated persistence context. Since: JPA 1.0 String name (Optional) The name by which the entity manager
JPA Doc
2

javax.persistence.PessimisticLockScope

of the EntityManager, Query, and TypedQuery interfaces that allow lock modes to be specified or used
JPA Doc
2

NamedNativeQuery.name

Annotation Element javax.persistence.NamedNativeQuery String name The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0
JPA Doc
2

NamedQuery.name

Annotation Element javax.persistence.NamedQuery String name (Required) The name used to refer to the query with the EntityManager methods that create query objects. Since: JPA 1.0
Forum
2

ODB IndexActivation NullPointerException

an EntityManager. 1) sometimes the following System out: * Batch ended at '2LG' * Batch ended at '2LG ... periods Do you mean with opening and closing the creation of EntityManagerFactory or of EntityManager ... a entityManager - close it - and wait a few seconds, that the IndexActiovation thread can finish
Forum
2

Remove an entity which attributes were changed - OptimisticLockException

seems to be using one or more EntityManagerFactory / EntityManager instances, i.e ... "? Are you sure that the same EntityManager (not just the same EntityManagerFactory) is used by ... should be when only one EntityManager is used) or different Java instances? I meant the ObjectDB
Issue
2

Best practise loading big data

this MyStepBlockCollection sbc = entityManager.find(id); for (MyStepBlock sb : sbc.stepBlocks) { for (MyStep s : sb ... after looking at the heap dump to your code in #6 above: MyStepBlockCollection sbc = entityManager ... .persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence
Forum
2

Persist error @ManyToMany how to define correct entities relationships

.Entity; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory; import ... ; EntityManager em; void test(){ Category cat1 = new ... .persistence.EntityManager; import javax.persistence.EntityManagerFactory; import javax.persistence
Issue
2

[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961)

.EntityExistsException; import javax.persistence.EntityManager; import javax.persistence.EntityManagerFactory ... .createEntityManagerFactory("ReproducePU"); }   public EntityManager getEntityManager ... ) { EntityManager em = getEntityManager(); try { return em.find(MomentEntity.class, id