JDO
  1. JDO
  2. JDO-456

Add state transitions to Table 2 for detach and serialize; add tests to state transitions tests

    Details

      Description

      In Table 2: State Transitions, the transition for a transient-dirty instance during commit with DetachAllOnCommit = true should be to transient-clean. Also, state changes need to be added for detach methods and serialization.

      The specification has been updated for the error in the specification regarding transient dirty instances.

      New rows in Table 2 need to be added for detach and serialize scenarios, and new test scenarios need to be added to the existing state transition test programs.

        Issue Links

          Activity

          Craig L Russell created issue -
          Hide
          Craig L Russell added a comment -

          1. The test cases StateTransitions and StateTransitionsReturnedObject need to be updated. Need to replace existing operation "detachCopy outside tx" with two operations "detachCopy outside tx with NontransactionalRead true" and "detachCopy outside tx with NontransactionalRead true false".

          Show
          Craig L Russell added a comment - 1. The test cases StateTransitions and StateTransitionsReturnedObject need to be updated. Need to replace existing operation "detachCopy outside tx" with two operations "detachCopy outside tx with NontransactionalRead true" and "detachCopy outside tx with NontransactionalRead true false".
          Hide
          Craig L Russell added a comment -

          2. The test cases StateTransitions and StateTransitionsReturnedObject need to be updated. Need to replace existing operation "detachCopy with active tx" with two operations "detachCopy with active Optimistic tx" and "detachCopy with active Datastore tx".

          Show
          Craig L Russell added a comment - 2. The test cases StateTransitions and StateTransitionsReturnedObject need to be updated. Need to replace existing operation "detachCopy with active tx" with two operations "detachCopy with active Optimistic tx" and "detachCopy with active Datastore tx".
          Hide
          Michelle Caisse added a comment -

          Added new test cases with revision: 495751

          Show
          Michelle Caisse added a comment - Added new test cases with revision: 495751
          Hide
          Michelle Caisse added a comment -

          This issue still needs resolution of unspecified state transitions.

          Show
          Michelle Caisse added a comment - This issue still needs resolution of unspecified state transitions.
          Michelle Caisse made changes -
          Field Original Value New Value
          Attachment stateTransitionsUpdates.htm [ 12349043 ]
          Hide
          Michelle Caisse added a comment -

          Attached stateTransitionsUpdates.htm shows the spec updates for detachCopy and makePersistent.

          Show
          Michelle Caisse added a comment - Attached stateTransitionsUpdates.htm shows the spec updates for detachCopy and makePersistent.
          Hide
          Michelle Caisse added a comment -

          Attached state transitions table has revisions in the rows for detachCopy with active transaction, column P-nontrans

          Show
          Michelle Caisse added a comment - Attached state transitions table has revisions in the rows for detachCopy with active transaction, column P-nontrans
          Michelle Caisse made changes -
          Attachment StateTransitionsUpdates2.html [ 12351431 ]
          Michelle Caisse made changes -
          Attachment stateTransitionsUpdates.htm [ 12349043 ]
          Michelle Caisse made changes -
          Link This issue blocks JDO-492 [ JDO-492 ]
          Hide
          Michelle Caisse added a comment -

          Spec and tck changes are complete.

          Show
          Michelle Caisse added a comment - Spec and tck changes are complete.
          Michelle Caisse made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Craig L Russell made changes -
          Link This issue is duplicated by JDO-491 [ JDO-491 ]
          Andy Jefferson made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Gavin made changes -
          Link This issue blocks JDO-492 [ JDO-492 ]
          Gavin made changes -
          Link This issue is depended upon by JDO-492 [ JDO-492 ]
          Transition Time In Source Status Execution Times Last Executer Last Execution Date
          Open Open Resolved Resolved
          336d 3h 53m 1 Michelle Caisse 07/Dec/07 22:41
          Resolved Resolved Closed Closed
          919d 12h 27m 1 Andy Jefferson 14/Jun/10 12:09

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development