Discussions

General J2EE: Are JDO objects truly disconnected?

  1. Are JDO objects truly disconnected? (2 messages)

    Hi,

    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.

    Thanks
    Alex
  2. 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.
  3. But what will happen with optimistic locking? How the JDO object will keep his original state?

    Alex.