About detached

api-jdo

preDetach(event)

This method is called during the execution of javax.jdo.PersistenceManager.detachCopy before the detached copy is made.(Method of javax.jdo.listener.DetachLifecycleListener)

 
forum_thread

Accessing objects to make them available after EntityManager close?!

Hi, I would like to get all the instances of an entity object. So I wrote a function which returns a list of these instances. My problem is if I print out these instances before closing the em and returning the list, it works as I expected; if not, the function returns only one field correctly, another field is always Null. The details is as follows: ... changes the state of the managed object to detached , and in detached objects only fields that have already been loaded when the  ...

 
release

2.2.9

... bug. Fixed a bug in merging detached entity objects. Fixed unexpected  ... Fixed a bug in modifying enhanced  detached embedded objects . Fixed a spring transformer ...

 
forum_thread

List of Enum Values in an entity

Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial (http://www.objectdb.com/tutorial/jpa/eclipse/ee). After testing was successful, I extended the Guest class with an ArrayList of Enums: private ArrayList<GuestFlag> flags; The flags are stored into the database without any problem. In the explorer I can see that it is stored as array of Strings. ... Guest 's toString is invoked in this tutorial on detached Guest instances, and in detached objects only fields that have been loaded before detachment (e.g. ...

 
release

2.2.8

... bug. Fixed a bug in merging detached entity objects. Fixed unexpected  ... Fixed a bug in modifying enhanced  detached embedded objects . Fixed a spring transformer ...

 
api-jdo

isDetached(pc)

Tests whether the parameter instance is detached.(Method of javax.jdo.spi.StateInterrogation)

 
manual

Retrieving JPA Entity Objects

Explains how to use JPA to retrieve entity objects from the database.... The fetch policy also affects objects that become detached (e.g. when the EntityManager is closed). Transparent activation is not supported for detached objects. Therefore, only content that has already been fetched from ...

 
api-jdo

jdoIsDetached()

Tests whether this object has been detached.(Method of javax.jdo.spi.PersistenceCapable)

 
release

2.3.1

... bug. Fixed a bug in merging detached entity objects. Fixed unexpected  ... Fixed a bug in modifying enhanced  detached embedded objects . Fixed a spring transformer ...

 
release

2.3.0

... bug. Fixed a bug in merging detached entity objects. Fixed unexpected  ... Fixed a bug in modifying enhanced  detached embedded objects . Fixed a spring transformer ...