About detach

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: ... you may consider the non standard "objectdb.temp.no-detach" extension . ObjectDB Support ObjectDB - ...

 
release

2.2.9

Release date: 2011-08-10 Download (5.15 MB) Binary:  objectdb-2.2.9.zip You should start by following a  tutorial or reading the manual ...

 
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. #1 2013-11-07 14:16 Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial ( http ...

 
release

2.2.8

Release date: 2011-07-03 Download (5.14 MB) Binary:  objectdb-2.2.8.zip You should start by following a  tutorial or reading the manual ...

 
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 Java Persistence API (JPA) provides various ways to retrieve objects from the database. The retrieval of objects does not require an active transaction because it does not change the content of the database. The persistence context se ...

 
api-jdo

jdoIsDetached()

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

 
release

2.3.1

Release date: 2011-10-02 Download (5.48 MB) Binary:  objectdb-2.3.1.zip You should start by following a  tutorial or reading the manual ...

 
release

2.3.0

Release date: 2011-09-21 Download (5.32 MB) Binary:  objectdb-2.3.0.zip You should start by following a  tutorial or reading the manual ...