Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 20792 invoked from network); 3 Aug 2006 22:49:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2006 22:49:51 -0000 Received: (qmail 55171 invoked by uid 500); 3 Aug 2006 22:49:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 55144 invoked by uid 500); 3 Aug 2006 22:49:50 -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 55135 invoked by uid 99); 3 Aug 2006 22:49:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Aug 2006 15:49:50 -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; Thu, 03 Aug 2006 15:49:49 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id BDBA641001E for ; Thu, 3 Aug 2006 22:47:14 +0000 (GMT) Message-ID: <10982659.1154645234774.JavaMail.jira@brutus> Date: Thu, 3 Aug 2006 15:47:14 -0700 (PDT) From: "Dag H. Wanvik (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1252) Old clients with new server return wrong database metadata values for some methods In-Reply-To: <45866527.1146002462954.JavaMail.root@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-1252?page=all ] Dag H. Wanvik updated DERBY-1252: --------------------------------- Derby Info: (was: [Regression, Existing Application Impact]) regression gone after fix > Old clients with new server return wrong database metadata values for some methods > ---------------------------------------------------------------------------------- > > Key: DERBY-1252 > URL: http://issues.apache.org/jira/browse/DERBY-1252 > Project: Derby > Issue Type: Bug > Components: JDBC, Network Client, Network Server > Affects Versions: 10.1.1.0, 10.1.2.0, 10.1.1.1, 10.1.1.2, 10.1.2.1, 10.1.3.0, 10.1.2.2, 10.1.2.3, 10.1.2.4 > Reporter: Dag H. Wanvik > Assigned To: Dag H. Wanvik > Priority: Minor > Fix For: 10.2.0.0 > > Attachments: derby1252-10.1.diff, derby1252-10.1.stat, derby1252.diff, derby1252.diff, derby1252.stat > > > With an old client (10.1.1, 10.1.2) accessing a new (10.2) server, > some metadata calls will return the wrong value for both the JCC and > the Derby clients: > deletesAreDetected(TYPE_SCROLL_INSENSITIVE) -> true > updatedAreDetected(TYPE_SCROLL_INSENSITIVE) -> true > ownDeletesAreVisible(TYPE_SCROLL_INSENSITIVE) -> true > ownUpdatesAreVisible(TYPE_SCROLL_INSENSITIVE) -> true > This happens because these values were changed for the 10.2 with > the addition of updatable scrollable insensitive result sets (DERBY-775), > combined with a weakness in the way the client and the server > cooperates to answer these metadata calls. > Presently, when the client application invokes these methods, the > results will be returned by the server without regard to the identity > of the client, i.e. the 2-tuple {JCC or Derby client, client version}. > The values to be returned for the methods in question are based solely > on the values found in the file metadata_net.properties, which is part > of the server. > In general, some database metadata is dependent on the combination of > the capabilities in the client and the server and the returned values > should reflect this, which in general implies negotiating (down) to > values which are correct for the actual combination of client and > server. -- 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