Retrieving interval types with JDBC and Postgres

Поиск
Список
Период
Сортировка
От pvh@wfeet.za.net (Peter van Heusden)
Тема Retrieving interval types with JDBC and Postgres
Дата
Msg-id 3f44a0ec.5fdb.pvh@wfeet.za.net
обсуждение исходный текст
Список pgsql-jdbc
Hi

I am a JDBC novice, so maybe I am missing something here: I am trying to
retrieve values from a column of type 'interval'. If I look into
ResultSetMetaData, it says that the column type is 1111, or in other words,
OTHER.

Thus, it looks like I have to use ResultSet.getObject(), with a correctly set
up Object. The documentation seems to be rather space on this - can
someone tell me how to do this?

Thanks,
Peter


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

Предыдущее
От: Nic
Дата:
Сообщение: Re: Callable statements
Следующее
От: Barry Lind
Дата:
Сообщение: Re: [BUGS] Bug #926: if old postgresql.jar in CLASSPATH,