Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 5484 invoked from network); 26 Apr 2006 12:58:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Apr 2006 12:58:27 -0000 Received: (qmail 6059 invoked by uid 500); 26 Apr 2006 12:58:26 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 6017 invoked by uid 500); 26 Apr 2006 12:58:26 -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 6008 invoked by uid 99); 26 Apr 2006 12:58:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 05:58:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Apr 2006 05:58:25 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 104D97142C4 for ; Wed, 26 Apr 2006 12:58:04 +0000 (GMT) Message-ID: <89909220.1146056284065.JavaMail.root@brutus> Date: Wed, 26 Apr 2006 12:58:04 +0000 (GMT+00:00) From: "Dyre Tjeldvoll (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1235) Move isPoolable() and setPoolable() from PreparedStatement to Statement In-Reply-To: <19291877.1145553125744.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 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-1235?page=all ] Dyre Tjeldvoll updated DERBY-1235: ---------------------------------- Attachment: derby-1235.v2.diff derby-1235.v2.stat Attaching a new patch based on Kristian's very valuable review comments. The new patch - Replaces references to PreparedStatement with Statement in Javadoc comments. - Makes the same change for the Network client. - Changes the default value for isPoolable to false for Statement, while keeping true as the default for PreparedStatement (isPoolable was made protected so that it can be modified by derived classes). Since CallableStatement inherits from PreparedStatement, it too will be poolable by default. - Added a test case to StatementTest.java to test isPoolable(), setPoolable() and the default value for Statement. - TestPreparedStatement.java already tests this for PreparedStatements (including the correct default). > Move isPoolable() and setPoolable() from PreparedStatement to Statement > ----------------------------------------------------------------------- > > Key: DERBY-1235 > URL: http://issues.apache.org/jira/browse/DERBY-1235 > Project: Derby > Type: Improvement > Components: JDBC > Versions: 10.2.0.0 > Reporter: Rick Hillegas > Assignee: Dyre Tjeldvoll > Fix For: 10.2.0.0 > Attachments: derby-1235.v1.diff, derby-1235.v1.stat, derby-1235.v2.diff, derby-1235.v2.stat, derbyall_report.v1.txt > > An upcoming release of jdk1.6 will move isPoolable() and setPoolable() from PreparedStatement to Statement. We should conform. -- 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