Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 13521 invoked from network); 18 Aug 2010 13:30:41 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 13:30:41 -0000 Received: (qmail 64781 invoked by uid 500); 18 Aug 2010 13:30:41 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 64571 invoked by uid 500); 18 Aug 2010 13:30:38 -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 64564 invoked by uid 99); 18 Aug 2010 13:30:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 13:30:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 13:30:37 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o7IDUHgU017114 for ; Wed, 18 Aug 2010 13:30:17 GMT Message-ID: <28753178.419891282138217002.JavaMail.jira@thor> Date: Wed, 18 Aug 2010 09:30:17 -0400 (EDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-3436) Embedded closes all open ResultSets on failure in auto-commit mode, whereas client keeps them open In-Reply-To: <2075167728.1203501163386.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-3436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen closed DERBY-3436. ------------------------------------- Resolution: Duplicate Closing as duplicate of DERBY-160. > Embedded closes all open ResultSets on failure in auto-commit mode, whereas client keeps them open > -------------------------------------------------------------------------------------------------- > > Key: DERBY-3436 > URL: https://issues.apache.org/jira/browse/DERBY-3436 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.4.1.3 > Reporter: Knut Anders Hatlen > Priority: Minor > > When an error happens in auto-commit mode, the embedded driver will close all open ResultSets (including holdable ones) in that transaction. The client driver will keep the ResultSets open. The embedded driver and the client driver should have the same behaviour. > The test case testAutoCommitFailure() in jdbc4/TestDbMetaData contains code that shows the difference between client and embedded. > DatabaseMetaData.autoCommitFailureClosesAllResultSets() currently returns true on the embedded driver (after DERBY-3422) and false on the client driver to account for this difference. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.