Re: Throwing NumberFormat exception for preparedStatement.setObjcet()

Поиск
Список
Период
Сортировка
От Dave Cramer
Тема Re: Throwing NumberFormat exception for preparedStatement.setObjcet()
Дата
Msg-id 491f66a51001111215l5ef09181j288d4d583bf007e4@mail.gmail.com
обсуждение исходный текст
Ответ на Throwing NumberFormat exception for preparedStatement.setObjcet()  (Srinivas Gunnam <srinivas_gunnam@persistent.co.in>)
Ответы Re: Throwing NumberFormat exception for preparedStatement.setObjcet()  (Srinivas Gunnam <srinivas_gunnam@persistent.co.in>)
Список pgsql-jdbc
On Mon, Jan 11, 2010 at 7:58 AM, Srinivas Gunnam
<srinivas_gunnam@persistent.co.in> wrote:
> Hi,
>
> In our application we are using the Postgres Sql 8.3.3 and jdbc driver is
> postgresql-8.0-310.jdbc3.


Do you mean 8.0-310 ? if so why not use a more recent driver ?

>
>
>
> When I am trying to set the value for id(int) like as follows throwing
> exception.
>
> ps.setObject(1, inputData,columntype);
>
> where inputdate value is 2

what is the columnType value ?

Dave

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

Предыдущее
От: Srinivas Gunnam
Дата:
Сообщение: Throwing NumberFormat exception for preparedStatement.setObjcet()
Следующее
От: dmp
Дата:
Сообщение: Re: Throwing NumberFormat exception for preparedStatement.setObjcet()