Hi Chris, On Sep 19, 2007, at 2:24 PM, Chris Beams (JIRA) wrote:
[ https://issues.apache.org/jira/browse/JDO-522? page=com.atlassian.jira.plugin.system.issuetabpanels:comment- tabpanel#action_12528904 ]Chris Beams commented on JDO-522: --------------------------------- The javadoc for both PM and PMF setCopyOnAttach() methods includes: + * With this flag set to <code>false</code>, detached parameter + * instances are attached directly and change their state from + * detached to persistent-clean and from detached-dirty to + * persistent-dirty.I believe it would be clearer if it read "from detached-clean to persistent-clean", instead of "from detached to persistent-clean"
I've made this change to:
* With this flag set to <code>false</code>, detached parameter
* instances are attached directly and change their state from
* detached-clean to persistent-clean or from detached-dirty to
* persistent-dirty.
Now waiting on JPOX to say they're ready for the checkin.
Craig
Draft proposal for CopyOnAttach property ---------------------------------------- Key: JDO-522 URL: https://issues.apache.org/jira/browse/JDO-522 Project: JDO Issue Type: Task Components: api2 Affects Versions: JDO 2 maintenance release 1 Environment: n/a Reporter: Chris Beams Assignee: Chris Beams Fix For: JDO 2 maintenance release 1Attachments: CopyOnAttachWithDetachAllOnCommit.jpg, jdo-522.patch, proposal-CopyOnAttach-draft2.rtf, proposal- CopyOnAttach.rtfMinutes: JDO TCK Conference Call Friday, Aug 10, 9 am PDT On 8/10/07, Craig L Russell <[EMAIL PROTECTED]> wrote:Attendees: Chris Beams, Matthew Adams, Michelle Caisse, Craig RussellAgenda:3. Attach (makePersistent) a detached instance always merges changes into the cache. Can this behavior be changed to make the parameter instance change its state, throwing an exception if there already is an instance in the cache, based on a user-specified property? Seems like this would be a good addition to the spec. AI Chris prepare aproposal for the jdo expert group alias.-- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp!
smime.p7s
Description: S/MIME cryptographic signature
