General J2EE: Are JDO objects truly disconnected?
- Posted by: Alex Furman
- Posted on: July 08 2001 05:17 EDT
The JDO object has a reference to PersistManager. Does it mean that it is not possible to marshall a JDO object by value? I don't want to have on client side PersistManager proxy.
I think you may call PersistentManager.makeTransient(obj) on your object. At this time, it is disconnected from the persistent manager ant can be sent by value.
But what will happen with optimistic locking? How the JDO object will keep his original state?