Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 98814 invoked from network); 12 Jan 2011 19:15:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jan 2011 19:15:08 -0000 Received: (qmail 20532 invoked by uid 500); 12 Jan 2011 19:15:08 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 20508 invoked by uid 500); 12 Jan 2011 19:15:07 -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 20399 invoked by uid 99); 12 Jan 2011 19:15:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 19:15:07 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Jan 2011 19:15:06 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id p0CJEkZS005707 for ; Wed, 12 Jan 2011 19:14:46 GMT Message-ID: <33369367.320441294859686740.JavaMail.jira@thor> Date: Wed, 12 Jan 2011 14:14:46 -0500 (EST) From: "Kathey Marsden (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4469) Fix the CASTing behavior of UDTs 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-4469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden updated DERBY-4469: ---------------------------------- Fix Version/s: 10.6.1.0 > Fix the CASTing behavior of UDTs > -------------------------------- > > Key: DERBY-4469 > URL: https://issues.apache.org/jira/browse/DERBY-4469 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.6.1.0 > Reporter: Rick Hillegas > Assignee: Rick Hillegas > Fix For: 10.6.1.0 > > Attachments: derby-4469-01-aa-castNullsAndUntypedParameters.diff, derby-4469-02-ab-illegalCasts.diff > > > The actual behavior of UDTs, now under construction, does not conform to the spec. The spec says that you can't CAST to or from UDTs. This is probably too harsh. We should allow the following CAST > cast ( null as udtType ) > I also think that we should allow at least the implicit casting of subtypes to supertypes since Java gives us the ability to discover the type graph. See Knut's comment on DERBY-651 on Dec 11, 2009. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.