Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 12228 invoked from network); 15 Oct 2007 21:35:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Oct 2007 21:35:42 -0000 Received: (qmail 44934 invoked by uid 500); 15 Oct 2007 21:35:29 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 44906 invoked by uid 500); 15 Oct 2007 21:35:29 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 44897 invoked by uid 99); 15 Oct 2007 21:35:29 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 14:35:29 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Oct 2007 21:35:41 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 993AE714035 for ; Mon, 15 Oct 2007 14:34:50 -0700 (PDT) Message-ID: <11976966.1192484090624.JavaMail.jira@brutus> Date: Mon, 15 Oct 2007 14:34:50 -0700 (PDT) From: "Myrna van Lunteren (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-2576) setCreateDatabase does not work for EmbeddedXADataSource or EmbeddedConnectionPoolDataSource In-Reply-To: <10007101.1177089975353.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534984 ] Myrna van Lunteren commented on DERBY-2576: ------------------------------------------- The modified test passes for me...I agree, this can be closed as invalid. The new test can be added, I think...Just not to be run with j2ME/JSR169 (XA datasource not supported). > setCreateDatabase does not work for EmbeddedXADataSource or EmbeddedConnectionPoolDataSource > -------------------------------------------------------------------------------------------- > > Key: DERBY-2576 > URL: https://issues.apache.org/jira/browse/DERBY-2576 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.3.1.4 > Reporter: Myrna van Lunteren > Assignee: Kathey Marsden > Priority: Minor > Attachments: DERBY-2576_tst.diff, DERBY-2576_tst_mod_diff.txt > > > After implementing setCreateDatabase for ClientDataSource, and creating a test (see DERBY-2296) I realized there was no such test for XADataSource or ConnectionPoolDataSource. > However, the test I created failed with Embedded, because the database does not get created. A database *does* get created using setConnectionAttributes(create=true). > Also, setShutdownDatabase does work (tested in XADSAuthenticationTest and PoolDSAuthenticationTest). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.