arrays and jdbc

From: Richard Welty <rwelty(at)averillpark(dot)net>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: arrays and jdbc
Date: 2003-01-31 22:51:02
Message-ID: E18ejzy-0003YV-00@skipper.averillpark.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)averillpark(dot)net
Averill Park Networking 518-573-7592
Unix, Linux, IP Network Engineering, Security

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-02-01 16:30:56 Re: arrays and jdbc
Previous Message Barry Lind 2003-01-31 16:53:04 Re: dbcp