Retrieving interval types with JDBC and Postgres - Mailing list pgsql-jdbc

From pvh@wfeet.za.net (Peter van Heusden)
Subject Retrieving interval types with JDBC and Postgres
Date
Msg-id 3f44a0ec.5fdb.pvh@wfeet.za.net
Whole thread Raw
List 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 by date:

Previous
From: Nic
Date:
Subject: Re: Callable statements
Next
From: Barry Lind
Date:
Subject: Re: [BUGS] Bug #926: if old postgresql.jar in CLASSPATH,