Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 13859 invoked from network); 8 Jul 2005 15:45:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Jul 2005 15:45:36 -0000 Received: (qmail 68749 invoked by uid 500); 8 Jul 2005 15:45:31 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 68662 invoked by uid 500); 8 Jul 2005 15:45:29 -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: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 68614 invoked by uid 99); 8 Jul 2005 15:45:29 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Jul 2005 08:45:17 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id A367CCA for ; Fri, 8 Jul 2005 17:45:14 +0200 (CEST) Message-ID: <295239241.1120837514668.JavaMail.jira@ajax.apache.org> Date: Fri, 8 Jul 2005 17:45:14 +0200 (CEST) From: "Deepa Remesh (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-447) getBoolean() throws data conversion exception for DECIMAL type in J2ME/CDC/Foundation In-Reply-To: <410167760.1120771997577.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-447?page=all ] Deepa Remesh updated DERBY-447: ------------------------------- Attachment: derby-447_2.diff Hi Dan, Thanks for pointing this out. I was using a round-about way to check if the value is null. Please look at the re-submitted patch. Deepa > getBoolean() throws data conversion exception for DECIMAL type in J2ME/CDC/Foundation > ------------------------------------------------------------------------------------- > > Key: DERBY-447 > URL: http://issues.apache.org/jira/browse/DERBY-447 > Project: Derby > Type: Bug > Components: JDBC > Reporter: Deepa Remesh > Assignee: Deepa Remesh > Attachments: derby-447_2.diff > > The call to the ResultSet method getBoolean() for a DECIMAL value throws data conversion exception with J2ME/CDC/Foundation. The class BigIntegerDecimal, which is used for DECIMAL support in J2ME/CDC/Foundation, does not override the getBoolean() method from the class DataType. The getBoolean() method in DataType simply throws a data conversion exception. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira