[ http://issues.apache.org/jira/browse/JDO-258?page=all ]
     
Martin Zaun resolved JDO-258:
-----------------------------

    Resolution: Fixed

Combined patch for JDO-275 and JDO-258 committed with revision 388087.

> Write tests for new persistent-nontransactional-dirty lifecycle assertions
> --------------------------------------------------------------------------
>
>          Key: JDO-258
>          URL: http://issues.apache.org/jira/browse/JDO-258
>      Project: JDO
>         Type: Test
>   Components: tck20
>     Versions: JDO 2 beta
>     Reporter: Michelle Caisse
>     Assignee: Craig Russell
>      Fix For: JDO 2 final

>
> A5.6.2-3 [A persistent-nontransactional-dirty instance transitions to hollow 
> if it is the parameter of evict or evictAll. This allows the application to 
> remove instances from the set of instances whose state is to be committed to 
> the datastore.]
> A5.6.2-5 [The persistent-nontransactional-dirty instances will transition 
> according to the RetainValues flag. With the RetainValues flag set to true, 
> persistent-nontransactional-dirty instances will transition to 
> persistent-nontransactional. With the RetainValues flag set to false, 
> persistent-nontransactional-dirty instances will transition to hollow. ]
> A5.6.2-7 [The persistent-nontransactional-dirty instances will transition 
> according to the RestoreValues flag. With the RestoreValues flag set to true, 
> persistent-nontransactional-dirty instances will make no state transition, 
> but the fields will be restored to their values as of the beginning of the 
> transaction, and any changes made within the transaction will be discarded. 
> With the RestoreValues flag set to false, persistent-nontransactional-dirty 
> instances will transition to hollow.]
> A5.6.2-9 [The persistent-nontransactional-dirty instances will transition 
> according to the RetainValues flag. With the RetainValues flag set to true, 
> persistent-nontransactional-dirty instances will transition to 
> persistent-nontransactional. With the RetainValues flag set to false, 
> persistent-nontransactional-dirty instances will transition to hollow.]
> A5.6.2-11 [With the RestoreValues flag set to true, 
> persistent-nontransactional-dirty instances will make no state transition, 
> but the fields will be restored to their values as of the beginning of the 
> transaction, and any changes made within the transaction will be discarded. 
> With the RestoreValues flag set to false, persistent-nontransactional-dirty 
> instances will transition to hollow.] 

-- 
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

Reply via email to