Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 80883 invoked from network); 2 Mar 2010 16:41:55 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Mar 2010 16:41:55 -0000 Received: (qmail 84501 invoked by uid 500); 2 Mar 2010 16:41:50 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 84468 invoked by uid 500); 2 Mar 2010 16:41: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 84449 invoked by uid 99); 2 Mar 2010 16:41:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 16:41:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Mar 2010 16:41:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 28029234C4AD for ; Tue, 2 Mar 2010 16:41:27 +0000 (UTC) Message-ID: <1075277759.9611267548087149.JavaMail.jira@brutus.apache.org> Date: Tue, 2 Mar 2010 16:41:27 +0000 (UTC) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Reopened: (DERBY-4491) The network client changes UDTs into Strings and returns their type as LONGVARBINARY. In-Reply-To: <172058700.1261499189398.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan reopened DERBY-4491: ------------------------------------ Reopening because it looks like NetDatabaseMetadata.serverSupportsUDTs returns the wrong value (see patch derby-4491-02-aa-supportsUDTs.diff). I plan to commit this patch shortly, and I will also set the fix version of this issue to 10.6. > The network client changes UDTs into Strings and returns their type as LONGVARBINARY. > ------------------------------------------------------------------------------------- > > Key: DERBY-4491 > URL: https://issues.apache.org/jira/browse/DERBY-4491 > Project: Derby > Issue Type: Bug > Components: JDBC > Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0 > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Attachments: derby-4491-01-ab-networkTransport.diff, derby-4491-01-ad-networkTransport.diff, derby-4491-02-aa-supportsUDTs.diff > > > This is a pre-existing bug which seems to have been with Derby since the beginning. Some of the columns in the system tables (e.g., SYS.SYSALIASES.ALIASINFO) contain objects. If you select these columns: > 1) In the embedded client you will get the correct results. You will get the objects in these columns. In addition, the ResultSetMetaData for these columns will correctly report that the columns have type JAVA_OBJECT and will give a reasonable type name (the class name for the object in the column). > 2) However, in the network client, you will get the wrong results. ResultSet.getObject() will return Strings rather than the original objects. In addition, the ResultSetMetaData for these columns will incorrectly report that their type is LONGVARBINARY. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.