Apache JDO Project - [jira] Commented: (JDO-513) StateTransitionsReturnedObjects expects

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > September 2007 > [jira] Commented: (JDO-513) StateTransitionsReturnedObjects expects





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Commented: (JDO-513) StateTransitionsReturnedObjects expects
Craig Russell (JIRA)

2007-09-28, 7:11 pm


[ https://issues.apache.org/jira/brow...action_12531180 ]

Craig Russell commented on JDO-513:
-----------------------------------

The specification doesn't explicitly cover this case, although I agree that the state transition should be as you indicate. The state transition table 2 near 5.8 has an entry for makePersistent but doesn't split out datastore transaction versus optimistic
transaction.

For now, we can mark this test case as UNSPECIFIED and document and fix it in maintenance (both the specification and the test case).

> StateTransitionsReturnedObjects expects persistent-clean in optimistic transaction
> ----------------------------------------------------------------------------------
>
> Key: JDO-513
> URL: https://issues.apache.org/jira/browse/JDO-513
> Project: JDO
> Issue Type: Test
> Components: tck2
> Reporter: Ilan Kirsh
>
> StateTransitionsReturnedObjects fails with:
> junit.framework.AssertionFailedError:
> Assertions A5.9-1 through A5.5.8 (serialization, detachment, attachment) failed:
> StateTransitionsReturnedObjects: optimistic transaction; current state detached-clean
> makePersistent returned instance in invalid state hollow; expected state persistent-clean
> It seems that in optimistic transaction the object state should be non transactional.


--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com