Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 43089 invoked from network); 7 Apr 2006 08:38:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Apr 2006 08:38:02 -0000 Received: (qmail 15675 invoked by uid 500); 7 Apr 2006 08:38:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 15613 invoked by uid 500); 7 Apr 2006 08:37:59 -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 15548 invoked by uid 99); 7 Apr 2006 08:37:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 01:37:59 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2006 01:37:59 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 0AA15D49FE for ; Fri, 7 Apr 2006 09:37:38 +0100 (BST) Message-ID: <2017203135.1144399058041.JavaMail.jira@ajax> Date: Fri, 7 Apr 2006 09:37:38 +0100 (BST) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1176) Stored prepared statements in the SYSIBM schema are not updated on upgrade In-Reply-To: <487918711.1144072184930.JavaMail.jira@ajax> 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-1176?page=all ] Knut Anders Hatlen updated DERBY-1176: -------------------------------------- Derby Info: [Patch Available] > Stored prepared statements in the SYSIBM schema are not updated on upgrade > -------------------------------------------------------------------------- > > Key: DERBY-1176 > URL: http://issues.apache.org/jira/browse/DERBY-1176 > Project: Derby > Type: Bug > Components: JDBC > Versions: 10.2.0.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Attachments: derby-1176-v1.diff, derby-1176-v1.stat > > When upgrading a database created with Derby 10.1 to 10.2, the SPSs in > the SYSIBM schema are not updated. SYSIBM.METADATA was modified in > DERBY-965, but it still has the old behaviour after the upgrade (both soft and > hard). > How to reproduce: > 1. Create a database with 10.1. > soft upgrade: > 2. Start 10.2 network server. > 3. Connect to the 10.1 database with the 10.2 client driver and > invoke DatabaseMetaData.supportsResultSetConcurrency( > ResultSet.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY). Return > value: FALSE. > hard upgrade: > 4. Restart 10.2 network server. > 5. Connect to the database with "upgrade=true" added to the > URL. DatabaseMetaData.supportsResultSetConcurrency( > Restart.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY) returns > FALSE. > observe correct behaviour: > 6. Delete the database and recreate it with 10.2. > 7. Start 10.2 network server. > 8. Connect to the database with the client driver and invoke > DatabaseMetaData.supportsResultSetConcurrency( > Restart.TYPE_FORWARD_ONLY, ResultSet.CONCUR_READ_ONLY). Return > value: TRUE. > Proposed solution for hard upgrade: drop and recreate SPSs. > Proposed solution for soft upgrade: read SYSIBM.METADATA from > metadata_net.properties. -- 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