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

Michael Watzek commented on JDO-258:
------------------------------------

The assertions of this issue have been implemented together with the assertions 
of JDO-273. The patch has been attached to JDO-273.


> Write tests for new persistent-nontransactional-dirty lifecycle assertions
> --------------------------------------------------------------------------
>
>          Key: JDO-258
>          URL: http://issues.apache.org/jira/browse/JDO-258
>      Project: JDO
>         Type: New Feature
>   Components: tck20
>     Reporter: Michelle Caisse
>     Assignee: Michael Watzek

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