Re: passing array(java) to postgre sql function

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: bond <kirank174(at)gmail(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: passing array(java) to postgre sql function
Date: 2006-02-22 09:17:26
Message-ID: 43FC2C26.3010405@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi, Bond,

bond wrote:

> public Object getArray(){
> ArrayList temp = new ArrayList();
> temp.add("MMMM");
> temp.add("NNNN");
> temp.add("TTTTT");
> temp.add("QQQQQ");
> return temp.toArray();
> }
> After this i am passing this.getArray() values to database.

As a first guess, have a look at java.sql.Array interface.

And maybe the people on the pgsql-jdbc(at)postgresql(dot)org mailing list know
better. :-)

HTH,
Markus

--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2006-02-22 09:18:27 Re: restircting rows
Previous Message padmanabha konkodi 2006-02-22 09:06:57 restircting rows