X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 216969DC86B for ; Wed, 22 Feb 2006 05:17:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 79201-02 for ; Wed, 22 Feb 2006 05:17:37 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id 461039DC857 for ; Wed, 22 Feb 2006 05:17:34 -0400 (AST) Received: from mail.tacotec.de (mail.tacotec.de [83.137.101.41]) by svr4.postgresql.org (Postfix) with ESMTP id 7ACD75AF08A for ; Wed, 22 Feb 2006 09:17:36 +0000 (GMT) Received: from localhost (localhost [127.0.0.1]) by mail.tacotec.de (Postfix) with ESMTP id 80D4F11D4ED; Wed, 22 Feb 2006 10:17:30 +0100 (CET) Received: from mail.tacotec.de ([83.137.101.41]) by localhost (hera.tacotec.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04830-07; Wed, 22 Feb 2006 10:17:30 +0100 (CET) Received: from kingfisher.intern.logix-tt.com (Md556.m.pppool.de [89.49.213.86]) by mail.tacotec.de (Postfix) with ESMTP id 657EF11D4E8; Wed, 22 Feb 2006 10:17:29 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id E2D9518189F93; Wed, 22 Feb 2006 10:17:26 +0100 (CET) Message-ID: <43FC2C26.3010405@logix-tt.com> Date: Wed, 22 Feb 2006 10:17:26 +0100 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Debian Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: en-us, en MIME-Version: 1.0 To: bond Cc: pgsql-sql@postgresql.org Subject: Re: passing array(java) to postgre sql function References: <1139911880.531826.81080@f14g2000cwb.googlegroups.com> In-Reply-To: <1139911880.531826.81080@f14g2000cwb.googlegroups.com> X-Enigmail-Version: 0.93.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mail.tacotec.de X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.122 required=5 tests=[AWL=0.122] X-Spam-Score: 0.122 X-Spam-Level: X-Archive-Number: 200602/258 X-Sequence-Number: 24268 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