db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-513) StateTransitionsReturnedObjects expects persistent-clean in optimistic transaction
Date Fri, 05 Oct 2007 18:18:50 GMT

    [ https://issues.apache.org/jira/browse/JDO-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12532744
] 

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

The specification dated 2007-09-28 has been updated to split the row in the state transitions
table so that the returned state in datastore transaction is persistent-clean but in optimistic
transaction is persistent-nontransactional.

The test case needs to be updated now.

> 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.


Mime
View raw message