Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 62520 invoked from network); 20 Feb 2011 21:29:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Feb 2011 21:29:03 -0000 Received: (qmail 86961 invoked by uid 500); 20 Feb 2011 21:29:02 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 86499 invoked by uid 500); 20 Feb 2011 21:29:02 -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 86406 invoked by uid 99); 20 Feb 2011 21:29:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Feb 2011 21:29:01 +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; Sun, 20 Feb 2011 21:28:59 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id CE5161AFC25 for ; Sun, 20 Feb 2011 21:28:38 +0000 (UTC) Date: Sun, 20 Feb 2011 21:28:38 +0000 (UTC) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Message-ID: <1780428217.4863.1298237318841.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <899530067.954.1298045858419.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Commented: (DERBY-5058) Add support for "boolean" data type in UpdatableResultSetTest 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-5058?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12997223#comment-12997223 ] Knut Anders Hatlen commented on DERBY-5058: ------------------------------------------- Hi Nirmal, I think the first failure in the updated test is not caused by a code bug. What fails is a call to updateString() on a boolean column, where the string argument is "1992". This fails, and so it should, since "1992" isn't a valid boolean value. So I think we need to make the updateString() test case smarter and not use the values from VARCHARCOL when updating a boolean column. I tried to change the updateString() case to use the value found in BOOLEANCOL instead when the type of the target column was boolean, but then I ran into another problem with updateBytes(), which I think is a bug -- logged as DERBY-5063. Until that bug's fixed, we'd probably need a workaround in the test, like skipping the problematic combination or something. > Add support for "boolean" data type in UpdatableResultSetTest > -------------------------------------------------------------- > > Key: DERBY-5058 > URL: https://issues.apache.org/jira/browse/DERBY-5058 > Project: Derby > Issue Type: Bug > Components: Test > Reporter: C.S. Nirmal J. Fernando > Assignee: C.S. Nirmal J. Fernando > Attachments: derby-5042-a.diff > > > UpdatableResultSetTest is currently not supporting "boolean" data type. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira