You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-dev@db.apache.org by "Craig Russell (JIRA)" <ji...@apache.org> on 2007/12/07 23:32:43 UTC

[jira] Assigned: (JDO-513) StateTransitionsReturnedObjects expects persistent-clean in optimistic transaction

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

Craig Russell reassigned JDO-513:
---------------------------------

    Assignee: Andy Jefferson  (was: Michelle Caisse)


The spec was updated to reflect that with an optimistic transaction, makePersistent transitions detached instances to persistent-nontransactional:

This change now makes JPOX fail the StateTransitionsReturnedObjects test. 



> 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
>            Assignee: Andy Jefferson
>
> 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.