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 "Michelle Caisse (JIRA)" <ji...@apache.org> on 2005/12/10 01:57:09 UTC

[jira] Created: (JDO-258) Write tests for attach/detach lifecycle assertions

Write tests for attach/detach lifecycle assertions
--------------------------------------------------

         Key: JDO-258
         URL: http://issues.apache.org/jira/browse/JDO-258
     Project: JDO
        Type: New Feature
  Components: tck20  
    Reporter: Michelle Caisse


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


[jira] Assigned: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Michael Watzek reassigned JDO-258:
----------------------------------

    Assign To: Michael Watzek

> 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


[jira] Updated: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Craig Russell updated JDO-258:
------------------------------

    type: Test  (was: New Feature)

> 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: Michael Watzek
>      Fix For: JDO 2 rc1

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


[jira] Commented: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Michael Watzek (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Updated: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Craig Russell updated JDO-258:
------------------------------

    Fix Version: JDO 2 rc1
        Version: JDO 2 beta

> 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
>     Versions: JDO 2 beta
>     Reporter: Michelle Caisse
>     Assignee: Michael Watzek
>      Fix For: JDO 2 rc1

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


[jira] Updated: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Martin Zaun (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Martin Zaun updated JDO-258:
----------------------------

    Comment: was deleted

> 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


[jira] Updated: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Martin Zaun (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Martin Zaun updated JDO-258:
----------------------------

    Comment: was deleted

> 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


[jira] Commented: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Martin Zaun (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-258?page=comments#action_12371519 ] 

Martin Zaun commented on JDO-258:
---------------------------------

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


[jira] Updated: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Craig Russell updated JDO-258:
------------------------------

    Fix Version: JDO 2 final
                     (was: JDO 2 rc1)

> 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: Martin Zaun
>      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


[jira] Assigned: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Craig Russell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Craig Russell reassigned JDO-258:
---------------------------------

    Assign To: Craig Russell  (was: Martin Zaun)

> 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


[jira] Commented: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Martin Zaun (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-258?page=comments#action_12371520 ] 

Martin Zaun commented on JDO-258:
---------------------------------

Combined patch for JDO-273 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


[jira] Commented: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Michelle Caisse (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JDO-258?page=comments#action_12371886 ] 

Michelle Caisse commented on JDO-258:
-------------------------------------

I added these assertions to the assertions spreadsheet.

> 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


[jira] Updated: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Michael Bouschen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Michael Bouschen updated JDO-258:
---------------------------------

    Summary: Write tests for new persistent-nontransactional-dirty lifecycle assertions  (was: Write tests for attach/detach lifecycle assertions)

> 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

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


[jira] Assigned: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Martin Zaun (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JDO-258?page=all ]

Martin Zaun reassigned JDO-258:
-------------------------------

    Assign To: Martin Zaun  (was: Michael Watzek)

> 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: Martin Zaun
>      Fix For: JDO 2 rc1

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


[jira] Resolved: (JDO-258) Write tests for new persistent-nontransactional-dirty lifecycle assertions

Posted by "Martin Zaun (JIRA)" <ji...@apache.org>.
     [ 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