Bad value for type BigDecimal : Y

Поиск
Список
Период
Сортировка
От Ashish Jain
Тема Bad value for type BigDecimal : Y
Дата
Msg-id 14af40510906110701g15f5f9edx1178b96a0237bcd0@mail.gmail.com
обсуждение исходный текст
Ответы Re: Bad value for type BigDecimal : Y
Re: Bad value for type BigDecimal : Y
Список pgsql-jdbc
Hi,

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)
    at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getBigDecimal(AbstractJdbc2ResultSet.java:2133)
    at org.postgresql.jdbc2.AbstractJdbc2ResultSet.getBigDecimal(AbstractJdbc2ResultSet.java:311)
    at org.tranql.connector.jdbc.ResultSetHandle.getBigDecimal(ResultSetHandle.java:179)
    at org.apache.openjpa.lib.jdbc.DelegatingResultSet.getBigDecimal(DelegatingResultSet.java:282)
    at org.apache.openjpa.jdbc.sql.DBDictionary.getBigDecimal(DBDictionary.java:389)
    at org.apache.openjpa.jdbc.sql.PostgresDictionary.getInt(PostgresDictionary.java:210)
    at org.apache.openjpa.jdbc.sql.DBDictionary.getChar(DBDictionary.java:556)
    at org.apache.openjpa.jdbc.sql.ResultSetResult.getCharInternal(ResultSetResult.java:288)
    at org.apache.openjpa.jdbc.sql.ResultSetResult.getObjectInternal(ResultSetResult.java:356)
    at org.apache.openjpa.jdbc.sql.AbstractResult.getObject(AbstractResult.java:662)
    at org.apache.openjpa.jdbc.meta.strats.HandlerStrategies.loadDataStore(HandlerStrategies.java:205)
    at org.apache.openjpa.jdbc.meta.strats.HandlerFieldStrategy.load(HandlerFieldStrategy.java:172)
    at org.apache.openjpa.jdbc.meta.FieldMapping.load(FieldMapping.java:796)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.load(JDBCStoreManager.java:833)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.load(JDBCStoreManager.java:785)
    at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.load(JDBCStoreManager.java:453)
    ... 106 more



Please help!!!

Thanks
Ashish

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: R: Re: Applet & SSL
Следующее
От: Richard Broersma
Дата:
Сообщение: Re: Bad value for type BigDecimal : Y