About managed

11-20 of 200Refresh
Forum
23

Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers

(through spring) with different tx managers, please find an example of this below. Any help is greatly ... ="entityManagerFactory" /> manager="txManager" /> managing transactions -->   manager="myTxManager" />
Forum
23

em.flush(); em.clear(); loosing data and not persisting managed objects

tracking management system called CMVC, since I don't have direct access to that database ... .CMVCSync.main(CMVCSync.java:61)   [2011-05-05 22:28:02 #132 query.manager] [2011-05-05 22:28:02 #138 query.manager]
Forum
23

Mysterious "Attempt to persist a reference to a non managed instance" error

.RollbackException Failed to commit transaction: Attempt to persist a reference to a non managed failing ... .UserException: Attempt to persist a reference to a non managed failing.Ostrich instance at com.objectdb.o ... a reference to a non managed failing.Ostrich instance at com.objectdb.o.MSG.d(MSG.java:61) at com
Forum
23

Attempt to refresh a non managed entity object (error 635)

.IllegalArgumentException Attempt to refresh a non managed entity object (error 635) Nothing changed in my code ... ) ? This error message indicates invoking refresh (explicitly or implicitly by cascading) on a non managed ... , for example, managed, but objects surviving a rollback. Pretty sure that my configuration is not right. dmoshal
Forum
23

2.7.3_03 Erroneous "Attempt to modify a primary key of a managed object"

key of a managed object", but my application is not trying to change the primary key.  (ObjectDB ... to modify a primary key of a managed object. Older versions missed some checks that were added recently ... "Attempt to modify a primary key of a managed object" So I assumed it was relevant to the thread
Issue
23

ODB-FileWriter holds unecessary entity reference after transaction and entity manager are closed

a transaction (including the entity manager) the ODB file writer still holds a reference to entities ... , if we execute several transactions on the identical entity manager. Also triggering the Garbage ... which we open up to lots of different Db files at the same time, each with own entitiy manager and open
Forum
23

Embedding Managed Entities in Embedded Objects = bad idea

Discovered that you can't embed entities in embeddable objects if the entity is managed. Haven't tried embedding un-managed entities in embeddable objects, though I imagine that's not a great idea. The the error message isn't all that obvious (attempting to persist object which already has an id
Manual
22

Working with JPA Entity Objects [2011-04-18]

), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA ... : New, Managed, Removed and Detached. When an entity object is initially created its state is New.  In ... the database. An entity object becomes Managed when it is persisted to the database
Manual
22

Working with JPA Entity Objects

), which can represent physical objects in the database. Managing an ObjectDB Object Database using JPA ... : New, Managed, Removed and Detached. When an entity object is initially created its state is New.  In ... the database. An entity object becomes Managed when it is persisted to the database
Forum
22

Cascading merge() leading to "Attempt to persist a reference to a non managed instance" error

.UserException: Attempt to persist a reference to a non managed ObjectDbCascadingMergeTest$Parent