From issues-return-2508-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Fri Feb 01 06:21:33 2008 Return-Path: Delivered-To: apmail-commons-issues-archive@locus.apache.org Received: (qmail 80405 invoked from network); 1 Feb 2008 06:21:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2008 06:21:32 -0000 Received: (qmail 72255 invoked by uid 500); 1 Feb 2008 06:21:22 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 72170 invoked by uid 500); 1 Feb 2008 06:21:22 -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 72161 invoked by uid 99); 1 Feb 2008 06:21:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 Jan 2008 22:21:22 -0800 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; Fri, 01 Feb 2008 06:21:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 389A7714042 for ; Thu, 31 Jan 2008 22:21:08 -0800 (PST) Message-ID: <14818344.1201846868228.JavaMail.jira@brutus> Date: Thu, 31 Jan 2008 22:21:08 -0800 (PST) From: "Raghu (JIRA)" To: issues@commons.apache.org Subject: [jira] Created: (DBCP-259) defualtReadOnly not working in conncetion pooling MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org defualtReadOnly not working in conncetion pooling ------------------------------------------------- Key: DBCP-259 URL: https://issues.apache.org/jira/browse/DBCP-259 Project: Commons Dbcp Issue Type: Bug Affects Versions: 1.2.1 Environment: commons-pool 1.2, jdk 1.4 Reporter: Raghu Hi All I am trying to set up a connection pooling using Jakarta commons-dbcp 1.2.1.... When defaultReadOnly property is set to true and if my understanding is correct i would not be able to perform update,insert or delete operations. When i set defualtReadOnly as true in the constructor PoolableConnectionFactory which looks like - poolableConnectionFactory = new PoolableConnectionFactory( connectionFactory, connectionPool, null, "sql query", true, true); But still i am able to perform the delete or insert opertations where i am expecting to throw an excpetion. Am i missing some thing or is ther anything fishy??? Thanks -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.