pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedARRAY
3+ messages / 3 participants
[nested] [flat]
* ARRAY
@ 2002-02-27 21:53 Michel Veillette <michel@nertec.com>
0 siblings, 0 replies; 3+ messages in thread
From: Michel Veillette @ 2002-02-27 21:53 UTC (permalink / raw)
To: pgsql-jdbc
Does PostgreSQL JDBC Driver support ARRAY?
Where can I get code example of accessing ARRAY with PostgreSQL JDBC Driver?
Regards,
Michel Veillette (Senior Analyst)
NERTEC Design Inc.
Tel: 450-375-0556
Fax: 450-375-8746
Web: http://www.nertec.com/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Array ???
@ 2005-10-18 22:45 andy petrella <andy.petrella@gmail.com>
2005-10-19 00:41 ` Re: Array ??? Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 3+ messages in thread
From: andy petrella @ 2005-10-18 22:45 UTC (permalink / raw)
To: pgsql-jdbc
hi,
I have some array type used in my pg table, those are only string array...
but how can i set an array with the jdbc in java ? Something with
org.postgresql.jdbc3.Jdbc3Array ? If yes, how to ?
P-L-E-A-S-E
thx all
P.S. [PreparedStaement].setArray(8, new org.postgresql.jdbc3.Jdbc3Array(...));
//parameters ? wich resultset is the latter one ?
--
/**\_____/**\_____/**\_____/**\_____/**\
] Signature :
] Andy Petrella
] Rue dessous l'église, 17
] 4450 Slins
] mail: andy.petrella@gmail.com
] <licencié en math, info>
] dea S.I.G. (2005-2006)
\**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: Array ???
2005-10-18 22:45 Array ??? andy petrella <andy.petrella@gmail.com>
@ 2005-10-19 00:41 ` Dave Cramer <pg@fastcrypt.com>
0 siblings, 0 replies; 3+ messages in thread
From: Dave Cramer @ 2005-10-19 00:41 UTC (permalink / raw)
To: andy petrella <andy.petrella@gmail.com>; +Cc: pgsql-jdbc
andy,
You have to implement the array interface on the object you want to
store, check the archives for an array implementation
Dave
On 18-Oct-05, at 6:45 PM, andy petrella wrote:
> hi,
> I have some array type used in my pg table, those are only string
> array... but how can i set an array with the jdbc in java ?
> Something with org.postgresql.jdbc3.Jdbc3Array ? If yes, how to ?
>
> P-L-E-A-S-E
>
> thx all
>
>
> P.S. [PreparedStaement].setArray(8, new
> org.postgresql.jdbc3.Jdbc3Array(...)); //parameters ? wich
> resultset is the latter one ?
> --
> /**\_____/**\_____/**\_____/**\_____/**\
> ] Signature :
> ] Andy Petrella
> ] Rue dessous l'église, 17
> ] 4450 Slins
> ] mail: andy.petrella@gmail.com
> ] <licencié en math, info>
> ] dea S.I.G. (2005-2006)
> \**/"""""""\**/"""""""\**/"""""""\**/"""""""\**/
Dave Cramer
davec@postgresintl.com
www.postgresintl.com
ICQ #14675561
jabber davecramer@jabber.org
ph (519 939 0336 )
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-10-19 00:41 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27 21:53 ARRAY Michel Veillette <michel@nertec.com>
2005-10-18 22:45 Array ??? andy petrella <andy.petrella@gmail.com>
2005-10-19 00:41 ` Re: Array ??? Dave Cramer <pg@fastcrypt.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox