Re: PreparedStatements with PG specific data types.

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: PreparedStatements with PG specific data types.
Дата
Msg-id alpine.BSO.2.00.0906120909440.23295@leary.csoft.net
обсуждение исходный текст
Ответ на PreparedStatements with PG specific data types.  (Johnny Luong <johnny.luong@trustcommerce.com>)
Список pgsql-jdbc

On Thu, 11 Jun 2009, Johnny Luong wrote:

> Is there a way to use PreparedStatements for specific data types such as
> interval or inet?  I have a JDBC application that I'm trying to migrate
> from the V2 Protocol which allowed the arbitrary use of setObject() to
> the V3 Protocol and if there was Java PG specific way or JDBC 3 way
> (preferrable) that someone would describe, it would be appreciated.
>

setObject(i, "my value", Types.OTHER);

Kris Jurka


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

Предыдущее
От: John Lister
Дата:
Сообщение: Re: Bad value for type BigDecimal : Y
Следующее
От: Dave Page
Дата:
Сообщение: Testing - ignore.