About managed

release

2.5.5

... AS 7.1.1. Improved performance of merging managed entities. Fixed a deadlock . Changed ... of primitive types. Fixed a bug of returning managed hollow objects in query results. Fixed an error message ...

 
release

2.3.0

... execution. Fixed a bug in using non managed non enhanced entity objects as parameters or in criteria queries ( ... Fixed an "Attempt to persist a reference to a non managed instance" bug. Fixed internal  ...

 
release

2.5.7

... AS 7.1.1. Improved performance of merging managed entities. Fixed a deadlock . Changed ... of primitive types. Fixed a bug of returning managed hollow objects in query results. Fixed an error message ...

 
release

2.5.6

... AS 7.1.1. Improved performance of merging managed entities. Fixed a deadlock . Changed ... of primitive types. Fixed a bug of returning managed hollow objects in query results. Fixed an error message ...

 
release

2.3.1

... execution. Fixed a bug in using non managed non enhanced entity objects as parameters or in criteria queries ( ... Fixed an "Attempt to persist a reference to a non managed instance" bug. Fixed internal  ...

 
forum_thread

Updating existing persistence entries

I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them to a kind of property editor in my app (it simply calls the setters to reflect gui editing actions). When I try to persist a object later on, I get an error like com.objectdb.o.UserException: Attempt to reuse an existing primary key value which makes sense to me but I'm missing a em.update() method. ... and ObjectDB. Transparent update works for managed objects . Therefore, if you modify a managed object within an active transaction the changes are identified ...

 
tutorial

Step 3: Add a Context Listener Class

Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in an Eclipse Web Application. The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory javax.persistence.EntityManagerFactory JPA interface Interface used to interact with the entity manager ...

 
tutorial

Step 3: Add a Context Listener Class

Explains how to add a servlet context listener (to manage an application scope EntityManagerFactory) in a NetBeans Web Application. The Guest entity objects will be stored in an ObjectDB database, which will be represented by a JPA's EntityManagerFactory javax.persistence.EntityManagerFactory JPA interface Interface used to interact with the entity manager ...

 
release

2.4.0

... execution. Fixed a bug in using non managed non enhanced entity objects as parameters or in criteria queries ( ... Fixed an "Attempt to persist a reference to a non managed instance" bug. Fixed internal  ...

 
release

2.3.2

... execution. Fixed a bug in using non managed non enhanced entity objects as parameters or in criteria queries ( ... Fixed an "Attempt to persist a reference to a non managed instance" bug. Fixed internal  ...