JDO
  1. JDO
  2. JDO-431

StateTransitionsReturnedObjects assumes serializing/deserializing persistent-nontransactional-dirty instances results in transient instances

    Details

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

      Description

      This is part of TCK challenge 10.

      Element 10 of "serialize outside tx" asserts that a persistent-nontransactional-dirty instance will become transient after serialize/deserialize, even though the specification seems to never mandate this. detached-clean should be an equally valid assertion.

        Activity

        Hide
        Craig L Russell added a comment -

        I agree that this behavior is not specified, and until the proper behavior is specified, the test case should be changed to UNSPECIFIED for this case.

        I'll bring up a discussion with the expert group on the proper specified behavior here.

        Show
        Craig L Russell added a comment - I agree that this behavior is not specified, and until the proper behavior is specified, the test case should be changed to UNSPECIFIED for this case. I'll bring up a discussion with the expert group on the proper specified behavior here.
        Hide
        Craig L Russell added a comment -

        svn commit src/java/org/apache/jdo/tck/lifecycle/StateTransitionsReturnedObjects.java
        Sending src/java/org/apache/jdo/tck/lifecycle/StateTransitionsReturnedObjects.java
        Transmitting file data .
        Committed revision 462525.

        Show
        Craig L Russell added a comment - svn commit src/java/org/apache/jdo/tck/lifecycle/StateTransitionsReturnedObjects.java Sending src/java/org/apache/jdo/tck/lifecycle/StateTransitionsReturnedObjects.java Transmitting file data . Committed revision 462525.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development