pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Cramer <pg@fastcrypt.com>
To: andy petrella <andy.petrella@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Array ???
Date: Tue, 18 Oct 2005 20:41:59 -0400
Message-ID: <3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com> (raw)
In-Reply-To: <7159e12c0510181545j698f68ch@mail.gmail.com>
References: <7159e12c0510181545j698f68ch@mail.gmail.com>

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 )

view thread (3+ messages)

Message-ID: <3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com>
Permalink:  ../3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com/
Also on:    postgresql.org/message-id/3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pg@fastcrypt.com, andy.petrella@gmail.com
  Subject: Re: Array ???
  In-Reply-To: <3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com>
  References: <7159e12c0510181545j698f68ch@mail.gmail.com> <3CD7D462-5E99-4155-9A17-6C20EC425F99@fastcrypt.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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