Issue Details (XML | Word | Printable)

Key: JDO-282
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Matthew T. Adams
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

Add convenience methods to get persistent instance and detached instance from InstanceLifecycleEvent

Created: 21/Jan/06 03:24 AM   Updated: 03/Feb/06 10:43 AM
Return to search
Component/s: api2
Affects Version/s: None
Fix Version/s: JDO 2 rc1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works InstanceLifecycleEvent.java.2.patch 2006-01-24 03:57 AM Matthew T. Adams 3 kB
Text File Licensed for inclusion in ASF works InstanceLifecycleEvent.patch 2006-01-21 04:19 AM Matthew T. Adams 4 kB

Resolution Date: 03/Feb/06 10:43 AM


 Description  « Hide
The source and target object differ as to whether they are the persistent or detached instance in class InstanceLifecycleEvent depending upon whether the event object is given in the preDetach, postDetach, preAttach, or postAttach callbacks. I propose adding two convenience methods that makes it obvious from the API which object the user is getting.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.