Retrieving field of type bigint[]
Retrieving field of type bigint[]
От:
"raviG" <ravi.gunda@eximsoft.com>
Дата:
Hi,
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 . If any one has idea about this please help me .
Thank you.
Regards,
Ravi
Ravi
Re: Retrieving field of type bigint[]
От:
Rene Pijlman <rpijlman@wanadoo.nl>
Дата:
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