Apache JDO Project - RE: [jira] Updated: (JDO-282) Add convenience methods to get persistent instance and d

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > January 2006 > RE: [jira] Updated: (JDO-282) Add convenience methods to get persistent instance and d





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author RE: [jira] Updated: (JDO-282) Add convenience methods to get persistent instance and d
Matthew T. Adams

2006-01-24, 5:47 pm

Anyone care to comment so that I can commit the changes?

--matthew

>-----Original Message-----
>From: Matthew T. Adams (JIRA) [mailto:jira@apache.org]
>Sent: Monday, January 23, 2006 10:58 AM
>To: jdo-dev@db.apache.org
>Subject: [jira] Updated: (JDO-282) Add convenience methods to
>get persistent instance and detached instance from
>InstanceLifecycleEvent
>
>
> [ http://issues.apache.org/jira/browse/JDO-282?page=all ]
>
>Matthew T. Adams updated JDO-282:
>---------------------------------
>
> Attachment: InstanceLifecycleEvent.java.2.patch
>
>OK, attached is the refactored patch. Please review and
>comment. I opted not to use the boolean at all, as
>isPreCallback and other variants of the name either weren't
>correct or just weren't descriptive enough.
>
>detached instance from InstanceLifecycleEvent
>---------------------------------------------------------------
>-------------------------------------
>InstanceLifecycleEvent.patch
>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.
>
>--
>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
>
>




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com