Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 81687 invoked from network); 11 Jul 2007 13:03:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jul 2007 13:03:26 -0000 Received: (qmail 18306 invoked by uid 500); 11 Jul 2007 13:03:28 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18267 invoked by uid 500); 11 Jul 2007 13:03:28 -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 18257 invoked by uid 99); 11 Jul 2007 13:03:28 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 11 Jul 2007 06:03:28 -0700 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; Wed, 11 Jul 2007 06:03:24 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 7A2D87141F7 for ; Wed, 11 Jul 2007 06:03:04 -0700 (PDT) Message-ID: <10284311.1184158984465.JavaMail.jira@brutus> Date: Wed, 11 Jul 2007 06:03:04 -0700 (PDT) From: =?utf-8?Q?=C3=98ystein_Gr=C3=B8vlen_=28JIRA=29?= To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-2923) Incorrect reading of nullable Blob/Clob columns during soft upgrade with client/server In-Reply-To: <10678536.1184158444526.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-2923?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] =C3=98ystein Gr=C3=B8vlen updated DERBY-2923: ----------------------------------- Attachment: SimpleBlobTest.java This application can be used to reproduce the problem. Do as follows. 1. Create a database with 10.2, and disconnect. 2. Start a 10.3 server. 3. Run attached application using the 10.3 derbyclient.jar=20 > Incorrect reading of nullable Blob/Clob columns during soft upgrade with = client/server > -------------------------------------------------------------------------= ------------- > > Key: DERBY-2923 > URL: https://issues.apache.org/jira/browse/DERBY-2923 > Project: Derby > Issue Type: Bug > Components: Network Server > Affects Versions: 10.3.0.0, 10.3.1.0, 10.3.1.1 > Environment: Client/server soft upgrade > Reporter: =C3=98ystein Gr=C3=B8vlen > Assignee: =C3=98ystein Gr=C3=B8vlen > Priority: Blocker > Fix For: 10.3.1.1 > > Attachments: SimpleBlobTest.java > > > Select operations with client/server and soft upgrade mode will not see f= irst byte of the Blob/Clob if the LOB column is nullable. > The reason seems to be that during soft upgrade, the network server does = not prepend the LOB data with the byte indicating whether the column is nul= l or not. Hence, the first data byte will be interpreted by the client as = the null byte, and the reading of the LOB will start at the second byte. --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.