Re: Interval type

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Interval type
Дата
Msg-id Pine.BSO.4.56.0412131710330.31457@leary.csoft.net
обсуждение исходный текст
Ответ на Interval type  (Ricardo Vaz Mannrich <rvm_l1@silcom.com.br>)
Список pgsql-jdbc

On Mon, 13 Dec 2004, Ricardo Vaz Mannrich wrote:

> How can I get an interval value with JDBC?
>

There is no corresponding Java type for an interval, so the best you can
do is ResultSet.getString().  The driver has a stub class
org.postgresql.util.PGInterval that will be returned by getObject().  It
would be nice if someone added a real implementation that could parse an
interval string and methods that returned the individual fields.

Kris Jurka

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