Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 19670 invoked from network); 17 Mar 2010 21:39:49 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 17 Mar 2010 21:39:49 -0000 Received: (qmail 32931 invoked by uid 500); 17 Mar 2010 21:39:48 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 32860 invoked by uid 500); 17 Mar 2010 21:39:48 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 32852 invoked by uid 99); 17 Mar 2010 21:39:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 21:39:48 +0000 X-ASF-Spam-Status: No, hits=-1046.8 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Mar 2010 21:39:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 50BDC234C4AE for ; Wed, 17 Mar 2010 21:39:27 +0000 (UTC) Message-ID: <325066040.325041268861967329.JavaMail.jira@brutus.apache.org> Date: Wed, 17 Mar 2010 21:39:27 +0000 (UTC) From: "Stefano Bertini (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (CONFIGURATION-412) Cannot use DatabaseConfiguration if the datasource has autocommit = false MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Cannot use DatabaseConfiguration if the datasource has autocommit = false ------------------------------------------------------------------------- Key: CONFIGURATION-412 URL: https://issues.apache.org/jira/browse/CONFIGURATION-412 Project: Commons Configuration Issue Type: Bug Affects Versions: 1.2 Environment: Windows / Linux - Database Oracle 11 Reporter: Stefano Bertini Priority: Critical If using a DatabaseConfiguration object with a datasource that has *autocommit = false*, the setProperty method fails with a *duplicate key* error. This happens because in the setProperty method the two calls _clearProperty(key)_ and _addProperty(key, value)_ can retrieve two different connections from the database. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.