Re: passing array(java) to postgre sql function - Mailing list pgsql-sql

From Markus Schaber
Subject Re: passing array(java) to postgre sql function
Date
Msg-id 43FC2C26.3010405@logix-tt.com
Whole thread Raw
In response to passing array(java) to postgre sql function  ("bond" <kirank174@gmail.com>)
List 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@postgresql.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


pgsql-sql by date:

Previous
From: "padmanabha konkodi"
Date:
Subject: restircting rows
Next
From: "A. Kretschmer"
Date:
Subject: Re: restircting rows