Hi,

The spec says classes that detachable and non detachable classes are not
compatible intentionally. I would like to propose a change to this behavior and
let the “jdoDetachedState” lose on unmarshalling.

From:
"Classes marked as Detachable are not serialization-compatible with un-enhanced
classes. This is intentional, and requires that the enhanced version of the
class be used wherever the instance might be instantiated."

To:
"Classes marked as Detachable are not serialization-compatible with un-enhanced
classes. When unmarshalling a detached object with an un-enhanced version of
the class, the detached state is dropped and no further read or change tracking
will occur on the unmarshalled instance."

Regards,

Erik Bengtson

Reply via email to