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] Updated: (JDO-259) Write tests for new persistent-nontransactional-dirty behavior assertions
Date Tue, 14 Mar 2006 00:27:59 GMT
     [ http://issues.apache.org/jira/browse/JDO-259?page=all ]

Craig Russell updated JDO-259:
------------------------------

    Attachment: NontransactionalWriteTest.java
                NontransactionalWriteThrows.java
                NontransactionalWriteDatastoreCommit.java

These tests run on JPOX, but JPOX doesn't support NontransactionalWrite. In case there is
an issue with one of the tests, I've split the tests into multiple test classes.

> Write tests for new persistent-nontransactional-dirty behavior assertions
> -------------------------------------------------------------------------
>
>          Key: JDO-259
>          URL: http://issues.apache.org/jira/browse/JDO-259
>      Project: JDO
>         Type: Test
>   Components: tck20
>     Versions: JDO 2 beta
>     Reporter: Michelle Caisse
>     Assignee: Craig Russell
>      Fix For: JDO 2 final
>  Attachments: NontransactionalWriteDatastoreCommit.java, NontransactionalWriteTest.java,
NontransactionalWriteThrows.java
>
> A5.6.2-4 [If a datastore transaction is begun, commit will write the changes to the datastore
with no checking as to the current state of the instances in the datastore. That is, the changes
made outside the transaction together with any changes made inside the transaction will overwrite
the current state of the datastore.]
> A5.6.2-6 [If a datastore transaction is begun, rollback will not write any changes to
the datastore.]
> A5.6.2-8 [If an optimistic transaction is begun, commit will write the changes to the
datastore after checking as to the current state of the instances in the datastore. The changes
made outside the transaction together with any changes made inside the transaction will update
the current state of the datastore if the version checking is successful.]
> A5.6.2-10 [If an optimistic transaction is begun, rollback will not write any changes
to the datastore. The persistent-nontransactional-dirty instances will transition according
to the RestoreValues flag. ]

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message