Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 53442 invoked from network); 11 Apr 2009 17:08:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Apr 2009 17:08:38 -0000 Received: (qmail 76523 invoked by uid 500); 11 Apr 2009 17:08:38 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 76477 invoked by uid 500); 11 Apr 2009 17:08:38 -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 76469 invoked by uid 99); 11 Apr 2009 17:08:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2009 17:08:37 +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; Sat, 11 Apr 2009 17:08:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 188C2234C498 for ; Sat, 11 Apr 2009 10:08:15 -0700 (PDT) Message-ID: <1281189295.1239469695099.JavaMail.jira@brutus> Date: Sat, 11 Apr 2009 10:08:15 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3853) Behaviour of setTypeMap() differs between embedded and client In-Reply-To: <2140040412.1219760564836.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-3853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-3853: -------------------------------------- Attachment: releaseNote.html Here's an attempt on a release note for this issue. > Behaviour of setTypeMap() differs between embedded and client > ------------------------------------------------------------- > > Key: DERBY-3853 > URL: https://issues.apache.org/jira/browse/DERBY-3853 > Project: Derby > Issue Type: Improvement > Components: JDBC, Newcomer > Affects Versions: 10.5.0.0 > Reporter: Knut Anders Hatlen > Assignee: Yun Lee > Priority: Minor > Fix For: 10.6.0.0 > > Attachments: DERBY-3853-1.patch, DERBY-3853-1.stat, DERBY-3853-2.patch, DERBY-3853-2.stat, releaseNote.html > > > On the embedded driver, Connection.setTypeMap() behaves like this (when the connection is not closed): > - if the map argument is null, throw an SQLException with SQLState XJ081 > - if the map is not null and not empty, throw an SQLException with SQLState 0A000 > - if the map is not null and empty, do nothing > The behaviour on the client driver is this: > - always throw an SQLException with SQLState 0A000 > We should try to make the two drivers behave the same way when setTypeMap() is called. (This would also allow us to simplify some of the tests in J2EEDataSourceTest). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.