JDO
  1. JDO
  2. JDO-258

Write tests for new persistent-nontransactional-dirty lifecycle assertions

    Details

    • Type: Test Test
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JDO 2 beta
    • Fix Version/s: JDO 2 final (2.0)
    • Component/s: tck
    • Labels:
      None

      Description

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

        Activity

        Michelle Caisse created issue -
        Michael Bouschen made changes -
        Field Original Value New Value
        Summary Write tests for attach/detach lifecycle assertions Write tests for new persistent-nontransactional-dirty lifecycle assertions
        Michael Watzek made changes -
        Assignee Michael Watzek [ mwa ]
        Craig L Russell made changes -
        Fix Version/s JDO 2 rc1 [ 12310771 ]
        Affects Version/s JDO 2 beta [ 12310683 ]
        Craig L Russell made changes -
        Type New Feature [ 2 ] Test [ 6 ]
        Martin Zaun made changes -
        Assignee Michael Watzek [ mwa ] Martin Zaun [ mzaun ]
        Craig L Russell made changes -
        Fix Version/s JDO 2 final [ 12310830 ]
        Fix Version/s JDO 2 rc1 [ 12310771 ]
        Craig L Russell made changes -
        Assignee Martin Zaun [ mzaun ] Craig Russell [ clr ]
        Martin Zaun made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Martin Zaun made changes -
        Comment [ Combined patch for JDO-275 and JDO-258 committed with revision 388087. ]
        Martin Zaun made changes -
        Comment [ Combined patch for JDO-275 and JDO-258 committed with revision 388087. ]
        Andy Jefferson made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Craig L Russell
            Reporter:
            Michelle Caisse
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development