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

          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.
          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
          Hide
          Michelle Caisse added a comment -

          Spec and tck changes are complete.

          Show
          Michelle Caisse added a comment - Spec and tck changes are complete.

            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