Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 48213 invoked from network); 18 Oct 2005 22:09:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Oct 2005 22:09:06 -0000 Received: (qmail 70621 invoked by uid 500); 18 Oct 2005 22:09:06 -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 70610 invoked by uid 99); 18 Oct 2005 22:09:06 -0000 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; Tue, 18 Oct 2005 15:09:05 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id F40A2510 for ; Wed, 19 Oct 2005 00:08:44 +0200 (CEST) Message-ID: <1837341000.1129673324997.JavaMail.jira@ajax.apache.org> Date: Wed, 19 Oct 2005 00:08:44 +0200 (CEST) From: "Craig Russell (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Created: (JDO-191) Add test for PersistenceManager.getDataStoreConnection() 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 Add test for PersistenceManager.getDataStoreConnection() -------------------------------------------------------- Key: JDO-191 URL: http://issues.apache.org/jira/browse/JDO-191 Project: JDO Type: Test Components: tck20 Environment: TCK Reporter: Craig Russell A12.16-1 [JDOConnection getDataStoreConnection(); If this method is called while a datastore transaction is active, the object returned will be enlisted in the current transaction. If called in an optimistic transaction before flush has been called, or outside an active transaction, the object returned will not be enlisted in any transaction.]] The tests use the PCPoint class and a jdbc Connection. The first test verifies that an object inserted into the PCPoint table during a transaction is visible by getObjectById in the same transaction. The second test verifies that an object inserted into the PCPoint table outside a transaction is visible in the next transaction. The test needs to work with the jdbc library from the standard JDK 1.3 (JDBC 2.0). -- 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