Issue Details (XML | Word | Printable)

Key: JDO-431
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Craig Russell
Reporter: Marc Prud'hommeaux
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

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

Created: 04/Oct/06 03:28 PM   Updated: 10/Oct/06 07:45 PM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 final
Fix Version/s: JDO 2 TCK challenge fixes

Time Tracking:
Not Specified

Resolution Date: 10/Oct/06 07:45 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell added a comment - 04/Oct/06 03:29 PM
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.

Craig Russell made changes - 04/Oct/06 08:16 PM
Field Original Value New Value
Reporter Craig Russell [ clr ] Marc Prud'hommeaux [ mprudhom ]
Craig Russell made changes - 04/Oct/06 09:16 PM
Affects Version/s JDO 2.0 TCK challenge fixes [ 12312093 ]
Affects Version/s JDO 2 final [ 12310830 ]
Affects Version/s JDO 2 maintenance release 1 [ 12310923 ]
Craig Russell made changes - 04/Oct/06 09:17 PM
Fix Version/s JDO 2 maintenance release 1 [ 12310923 ]
Fix Version/s JDO 2.0 TCK challenge fixes [ 12312093 ]
Affects Version/s JDO 2.0 TCK challenge fixes [ 12312093 ]
Affects Version/s JDO 2 final [ 12310830 ]
Affects Version/s JDO 2 maintenance release 1 [ 12310923 ]
Repository Revision Date User Message
ASF #462525 Tue Oct 10 19:43:35 UTC 2006 clr JDO-427 JDO-429 JDO-431
StateTransitionsReturnedObjects.java is modified to make several state transitions
UNSPECIFIED, since the specification is ambiguous.
These changes apply only to the branches/2.0.1, as we intend to clarify the
specification for JDO 2.1 maintenance release.
Files Changed
MODIFY /db/jdo/branches/2.0.1/tck20/src/java/org/apache/jdo/tck/lifecycle/StateTransitionsReturnedObjects.java

Craig Russell added a comment - 10/Oct/06 07:45 PM
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.

Craig Russell made changes - 10/Oct/06 07:45 PM
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Fix Version/s JDO 2 maintenance release 1 [ 12310923 ]