Re: Bad value for type BigDecimal : Y - Mailing list pgsql-jdbc

From Richard Broersma
Subject Re: Bad value for type BigDecimal : Y
Date
Msg-id 396486430906110930s33c6f95bjc6848775d20049df@mail.gmail.com
Whole thread Raw
In response to Bad value for type BigDecimal : Y  (Ashish Jain <ashjain2@gmail.com>)
Responses Re: Bad value for type BigDecimal : Y  (Ashish Jain <ashjain2@gmail.com>)
List pgsql-jdbc
On Thu, Jun 11, 2009 at 7:01 AM, Ashish Jain<ashjain2@gmail.com> wrote:

> I am using postgresql 8.3 with openJPA 1.2.1. I hit the following error
>
> org.postgresql.util.
> PSQLException: Bad value for type BigDecimal : Y     at
> org.postgresql.jdbc2.AbstractJdbc2ResultSet.toBigDecimal(AbstractJdbc2ResultSet.java:2710)

I'm curious what the column definition is for the mapped field that is
defined as a BigDecimal in your JPA ORM.  Is it possible for
PostgreSQL's numeric data to represent values that exceed the limits
of java BigDecimal class?


--
Regards,
Richard Broersma Jr.

Visit the Los Angeles PostgreSQL Users Group (LAPUG)
http://pugs.postgresql.org/lapug

pgsql-jdbc by date:

Previous
From: Ashish Jain
Date:
Subject: Bad value for type BigDecimal : Y
Next
From: Ashish Jain
Date:
Subject: Re: Bad value for type BigDecimal : Y