pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Markus Schaber <schabi@logix-tt.com>
To: bond <kirank174@gmail.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: passing array(java) to postgre sql function
Date: Wed, 22 Feb 2006 10:17:26 +0100
Message-ID: <43FC2C26.3010405@logix-tt.com> (raw)
In-Reply-To: <1139911880.531826.81080@f14g2000cwb.googlegroups.com>
References: <1139911880.531826.81080@f14g2000cwb.googlegroups.com>

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



view thread (2+ messages)

Message-ID: <43FC2C26.3010405@logix-tt.com>
Permalink:  ../43FC2C26.3010405@logix-tt.com/
Also on:    postgresql.org/message-id/43FC2C26.3010405@logix-tt.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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: schabi@logix-tt.com, kirank174@gmail.com
  Subject: Re: passing array(java) to postgre sql function
  In-Reply-To: <43FC2C26.3010405@logix-tt.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