About managed
Working with JPA Entity Objects
Explains the entity object lifecycle and the persistence context.... life cycle of entity objects consists of four states: New, Managed, Removed and Detached. When an entity object is ... in the database. An entity object becomes Managed when it is persisted to the database via an EntityManager’s ...
javax.persistence.metamodel.ManagedType
Instances of the type ManagedType represent entity, mapped superclass, and embeddable types.(Interface of JPA)
javax.persistence.metamodel.EmbeddableType
Instances of the type EmbeddableType represent embeddable types.(Interface of JPA)
javax.persistence.metamodel.MappedSuperclassType
Instances of the type MappedSuperclassType represent mapped superclass types.(Interface of JPA)
javax.persistence.metamodel.EntityType
Instances of the type EntityType represent entity types.(Interface of JPA)
javax.persistence.metamodel.IdentifiableType
Instances of the type IdentifiableType represent entity or mapped superclass types.(Interface of JPA)
javax.persistence.EntityManagerFactory
Interface used to interact with the entity manager factory for the persistence unit.(Interface of JPA)
Entity Management Settings
Explains settings and performance tuning of JPA entities in ObjectDB, the fast Java object database for JPA/JDO.... specifies the size of the shared level 2 cache that is managed by the EntityManagerFactory ...
Mysterious "Attempt to persist a reference to a non managed instance" error
I've been working with ObjectDB for the past several months, and it's behaved pretty much as expected. I made a few modifications to a working set of classes today, and it's started throwing exceptions at commit time. I've stripped it down to a set of files that seem to be of trivial complexity, but it's still failing. It involves two entities, Index and Ostrich. The thing to note is that the Index structure is recursive through maps; but that's never caused any problem for me in the past. ... transaction: Attempt to persist a reference to a non managed failing.Ostrich instance (error 613) at ... Attempt to persist a reference to a non managed failing.Ostrich instance at ... Attempt to persist a reference to a non managed failing.Ostrich instance at com.objectdb.o.MSG.d(MSG.java:61) at ...