Re: Retrieving field of type bigint[] - Mailing list pgsql-jdbc

From Rene Pijlman
Subject Re: Retrieving field of type bigint[]
Date
Msg-id ftmqmtk5cihsssn1327i8dtfa99omjuqsq@4ax.com
Whole thread Raw
In response to Retrieving field of type bigint[]  ("raviG" <ravi.gunda@eximsoft.com>)
List pgsql-jdbc
On Sun, 5 Aug 2001 23:08:16 +0900, you wrote:
>I am trying to retrieve field of type bigint[] from postgres DB.
>I tried most of  getXXX methods of ResultSet abut I could not
>do it.

The JDBC spec recommends ResultSet.getLong() for the JDBC type
BIGINT:

    long getLong(int columnIndex) throws SQLException
    long getLong(String columnName) throws SQLException

What is the problem precisely? "I could not do it" is not very
informative.

What's your source code? What's the column type? What versions
of what are you using? What exception did you get?

Regards,
René Pijlman

pgsql-jdbc by date:

Previous
From: "raviG"
Date:
Subject:
Next
From: "RaviShankar K"
Date:
Subject: Retrieving field of type bigint[]