Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 17543 invoked from network); 14 Mar 2006 00:28:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Mar 2006 00:28:21 -0000 Received: (qmail 88792 invoked by uid 500); 14 Mar 2006 00:28:21 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 88781 invoked by uid 99); 14 Mar 2006 00:28:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 16:28:20 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Mar 2006 16:28:20 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 670A8D49FF for ; Tue, 14 Mar 2006 00:27:59 +0000 (GMT) Message-ID: <1612738691.1142296079419.JavaMail.jira@ajax> Date: Tue, 14 Mar 2006 00:27:59 +0000 (GMT) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Updated: (JDO-259) Write tests for new persistent-nontransactional-dirty behavior assertions In-Reply-To: <10815245.1134176347970.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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