arrays and jdbc - Mailing list pgsql-jdbc

From Richard Welty
Subject arrays and jdbc
Date
Msg-id E18ejzy-0003YV-00@skipper.averillpark.net
Whole thread Raw
Responses Re: arrays and jdbc  (Dave Cramer <Dave@micro-automation.net>)
List 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@averillpark.net
Averill Park Networking                                         518-573-7592
              Unix, Linux, IP Network Engineering, Security

pgsql-jdbc by date:

Previous
From: "Chris Smith"
Date:
Subject: Patch - Streaming of PreparedStatement/setInputStream
Next
From: Dave Cramer
Date:
Subject: Re: arrays and jdbc