Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A5F1B9CB6 for ; Tue, 21 Feb 2012 20:59:13 +0000 (UTC) Received: (qmail 16949 invoked by uid 500); 21 Feb 2012 20:59:13 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 16910 invoked by uid 500); 21 Feb 2012 20:59:13 -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 16902 invoked by uid 99); 21 Feb 2012 20:59:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 20:59:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Feb 2012 20:59:09 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0C3841C24EA for ; Tue, 21 Feb 2012 20:58:49 +0000 (UTC) Date: Tue, 21 Feb 2012 20:58:49 +0000 (UTC) From: "Kathey Marsden (Updated) (JIRA)" To: derby-dev@db.apache.org Message-ID: <567463974.959.1329857929051.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (DERBY-3377) Network Client/Server should use sqlType instead of locator value to determine if lob was sent by locator/value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-3377?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-3377: ---------------------------------- Labels: LOB derby_triage10_9 (was: LOB) > Network Client/Server should use sqlType instead of locator value to determine if lob was sent by locator/value > --------------------------------------------------------------------------------------------------------------- > > Key: DERBY-3377 > URL: https://issues.apache.org/jira/browse/DERBY-3377 > Project: Derby > Issue Type: Improvement > Components: Network Client, Network Server > Affects Versions: 10.3.1.4, 10.3.2.1, 10.4.1.3 > Reporter: Kathey Marsden > Priority: Minor > Labels: LOB, derby_triage10_9 > > This issue came up during the fix for DERBY-3243. Currently network server does not send the correct sqlType for locators. It sends DB2_SQLTYPE_BLOB or DB2_SQLTYPE_CLOB instead of DB2_SQLTYPE_BLOB_LOCATOR or DB2_SQLTYPE_CLOB_LOCATOR so the client's only way of determining whether it is getting a lob by value or locator is to look at the locator/extended length field and use that to branch its logic. It would be cleaner moving foward to use the sqlType to branch this logic, but there would have to be version specific handling to allow it to work the old way when communicating with older versions. > The sqlType is sent as part of the SQLDAGRP in DRDAConnThread.writeSQLDAGRP() in the > server code. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira