Re: arrays and jdbc

Поиск
Список
Период
Сортировка
Искать
От
Dave Cramer
Тема
Re: arrays and jdbc
Дата
Msg-id
1044117055.1280.62.camel@inspiron.cramers
Ответ на
arrays and jdbc (Richard Welty)
Список
Дерево обсуждения
arrays and jdbc Richard Welty <rwelty@averillpark.net>
Re: arrays and jdbc Dave Cramer <Dave@micro-automation.net>
Re: arrays and jdbc Richard Welty <rwelty@averillpark.net>
Richard,

You need to use the java.sql.Array interface to get at array objects 

Dave
On Fri, 2003-01-31 at 17:51, Richard Welty wrote:
> i'm about to start on something which will be accessing arrays through the
> pgjdbc2 driver.
> 
> is there anything i should know, or should i just have at it? should i just
> step through a row in the result set in numeric order, or is there a way of
> representing a specific array values in the row, that is, could i do
> something like
> 
> int pct = resultset.getInt("percentage[1]");
> 
> to get element one of int4 array percentage?
> 
> thanks,
>   richard
> --
> Richard Welty                                         rwelty@averillpark.net
> Averill Park Networking                                         518-573-7592
>               Unix, Linux, IP Network Engineering, Security
> 
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
-- 
Dave Cramer 

В списке pgsql-jdbc по дате отправления
От: Richard Welty
Дата:
Сообщение: arrays and jdbc
От: Richard Welty
Дата:
Сообщение: Re: arrays and jdbc
FAQ