Re: Retrieving field of type bigint[]

From: Rene Pijlman <rpijlman(at)wanadoo(dot)nl>
To: "raviG" <ravi(dot)gunda(at)eximsoft(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Retrieving field of type bigint[]
Date: 2001-08-05 14:52:45
Message-ID: ftmqmtk5cihsssn1327i8dtfa99omjuqsq@4ax.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message RaviShankar K 2001-08-06 02:13:58 Retrieving field of type bigint[]
Previous Message raviG 2001-08-05 14:25:22