01-28-06 01:47 AM
[ http://issues.apache.org/jira/browse/JDO-282?page=all ]
Matthew T. Adams reopened JDO-282:
----------------------------------
The JDO 2.0 specification needs to be updated to reflect the addition of the
methods getPersistentInstance and getDetachedInstance to the class Instance
LifecycleEvent.
> Add convenience methods to get persistent instance and detached instance f
rom InstanceLifecycleEvent
> --------------------------------------------------------------------------
--------------------------
>
> Key: JDO-282
> URL: http://issues.apache.org/jira/browse/JDO-282
> Project: JDO
> Type: Improvement
> Components: api20
> Reporter: Matthew T. Adams
> Assignee: Matthew T. Adams
> Attachments: InstanceLifecycleEvent.java.2.patch, InstanceLifecycleEvent.
patch
>
> The source and target object differ as to whether they are the persistent or detac
hed instance in class InstanceLifecycleEvent depending upon whether the event object
is given in the preDetach, postDetach, preAttach, or postAttach callbacks. I propo
se
adding two convenience methods that makes it obvious from the API which obje
ct the user is getting.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[ Post a follow-up to this message ]
|