You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Matthew T. Adams (JIRA)" <ji...@apache.org> on 2006/01/04 19:14:01 UTC

[jira] Commented: (JDO-259) Write tests for attach/detach behavior assertions

    [ http://issues.apache.org/jira/browse/JDO-259?page=comments#action_12361772 ] 

Matthew T. Adams commented on JDO-259:
--------------------------------------

I'm not sure that I see how these assertions have anything to do with attach/detach behaviors.  They appear to be more related to the persistent-nontransactional-dirty state.  The sections directly relevant to attach/detach are "5.5.8 Detached-clean", "5.5.9 Detached-dirty", and "12.6.8 Detaching and attaching instances".

I'll resolve this issue as "won't fix" and create a new issue for the sections listed above.

> Write tests for attach/detach behavior assertions
> -------------------------------------------------
>
>          Key: JDO-259
>          URL: http://issues.apache.org/jira/browse/JDO-259
>      Project: JDO
>         Type: New Feature
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Matthew T. Adams

>
> A5.6.2-4 [If a datastore transaction is begun, commit will write the changes to the datastore with no checking as to the current state of the instances in the datastore. That is, the changes made outside the transaction together with any changes made inside the transaction will overwrite the current state of the datastore.]
> A5.6.2-6 [If a datastore transaction is begun, rollback will not write any changes to the datastore.]
> A5.6.2-8 [If an optimistic transaction is begun, commit will write the changes to the datastore after checking as to the current state of the instances in the datastore. The changes made outside the transaction together with any changes made inside the transaction will update the current state of the datastore if the version checking is successful.]
> A5.6.2-10 [If an optimistic transaction is begun, rollback will not write any changes to the datastore. The persistent-nontransactional-dirty instances will transition according to the RestoreValues flag. ]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira