Re: Retrieving field of type bigint[]

Поиск
Список
Период
Сортировка
От Barry Lind
Тема Re: Retrieving field of type bigint[]
Дата
Msg-id 3B6EC654.1040302@xythos.com
обсуждение исходный текст
Ответ на Retrieving field of type bigint[]  ("RaviShankar K" <ravi@e-jan.co.jp>)
Список pgsql-jdbc
The correct method to call is getArray() on the result set.
Unfortunately that functionality hasn't yet been implemented in the
current jdbc code for postgresql.

thanks,
--Barry


RaviShankar K wrote:
> Hi,
>
>
>
>     I am sorry for the previous post .
>
>
>
>     My field type is bigint[] . I am storing some numbers in it (as an
> array) .
>
>
>
>     I want to get that feild value and insert it into another table .
> When I am using getLong() method ResultSet
>
> I am getting error message "Bad Long {1,2}" . {1,2} is the value in that
> field .
>
>
>
>     Please help me .My jdbc driver is "jdbc7.1-1.3.jar".
>
>
>
> Regards,
>
> Ravi
>
>
>
>
>
>
>
>     ----- Original Message -----
>
>     *From:* RaviShankar K <mailto:ravi@e-jan.co.jp>
>
>     *To:* pgsql-jdbc@postgresql.org <mailto:pgsql-jdbc@postgresql.org>
>
>     *Sent:* Monday, August 06, 2001 AM 11:13
>
>     *Subject:* [JDBC] Retrieving field of type bigint[]
>
>
>     Hi,
>
>     I am trying to retrieve field of type bigint[] from postgres DB. I
>     tried most of getXXX methods of ResultSet but I could not do it . If
>     any one has idea about this, please help me .
>
>     Thank you.
>
>     Regards,
>     Ravi
>



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

Предыдущее
От: "RaviShankar K"
Дата:
Сообщение: field of type oid
Следующее
От: Tony Grant
Дата:
Сообщение: cast in JDBC update