Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id DFD12633BBF for ; Thu, 11 Jun 2009 13:47:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 05156-03 for ; Thu, 11 Jun 2009 13:47:01 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mail.postgresql.org (Postfix) with ESMTP id AC3C8633B7D for ; Thu, 11 Jun 2009 13:47:02 -0300 (ADT) Received: by qw-out-2122.google.com with SMTP id 8so864195qwh.61 for ; Thu, 11 Jun 2009 09:46:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+vYU7VyhLWkjntNeEb58y6Knjd8fsckLjyim31A30tE=; b=Ugbw09bAgQXmgtRrWok/0Dq22eZIdw9sSCmTFS/X73lY6J2qyj73zadOAezaCI7AyS z6fA+ZEHKPGcxF51bxhmQkqm/JT9HRDIHJsE0fX27BUStCq4tTPPbe5YttyJRGvepUMM Pvgq9zWCqUi5OqlDRrL/W/nnMwDxbLOHQRTxU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=ZYBENqhwNe+CSeA3jbPPIu9FTPuUxvrKePvSK1xNRGuz6+UdgcUCNfSAqUoA+m99RD lDHG3QXeMrhr2DZm3LhkCEy2qhB7w1g1fZIY8M3E8DrZxJHyfAM5/vWaLI8HkcGvKOMB v+VUgkJgiKrRQ8SV6sdI13zTeFBSx4YlbYXdc= MIME-Version: 1.0 Received: by 10.220.85.83 with SMTP id n19mr2329494vcl.33.1244738803391; Thu, 11 Jun 2009 09:46:43 -0700 (PDT) In-Reply-To: <14af40510906110939o540ea10cl1632e47278f0af98@mail.gmail.com> References: <14af40510906110701g15f5f9edx1178b96a0237bcd0@mail.gmail.com> <396486430906110930s33c6f95bjc6848775d20049df@mail.gmail.com> <14af40510906110939o540ea10cl1632e47278f0af98@mail.gmail.com> Date: Thu, 11 Jun 2009 09:46:43 -0700 Message-ID: <396486430906110946y514d2cc9n8454fb892fd4cbe9@mail.gmail.com> Subject: Re: Bad value for type BigDecimal : Y From: Richard Broersma To: Ashish Jain Cc: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.088 tagged_above=0 required=5 tests=AWL=0.088 X-Spam-Level: X-Archive-Number: 200906/54 X-Sequence-Number: 19718 On Thu, Jun 11, 2009 at 9:39 AM, Ashish Jain wrote: > None of the fields are defind as Big Decimal.I have integer, character and > timestamp as the variable types in my SQL statments If your classes do not define BigDecimal as a field and your tables do not have a numeric data type, it might be very difficult to find the cause of this error. -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug