pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jojo Paderes <jojo.paderes@gmail.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()]
Date: Mon, 21 Nov 2005 13:56:16 +0800
Message-ID: <65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.com> (raw)
In-Reply-To: <43811145.6080004@opencloud.com>
References: <4bd3e1480511120921y6359a0achab46a321b4802219@mail.gmail.com>
	<Pine.BSO.4.61.0511130347040.6118@leary.csoft.net>
	<4bd3e1480511131556o58dbeae8y7a08dc55927010e0@mail.gmail.com>
	<A427CF93-7A30-483A-B98C-FD19B60733F4@fastcrypt.com>
	<65f9ddfb0511200803q6df02e33l52589649da2be071@mail.gmail.com>
	<43811145.6080004@opencloud.com>

Ah, didn't notice that. Thanks for the clarification :-)

On 11/21/05, Oliver Jowett <oliver@opencloud.com> wrote:
> Jojo Paderes wrote:
> > Is the Array class used in the method refers to java.sql.Array? If
> > yes, I think it's not possible to use that to create an object since
> > it is an interface.
>
> Yes it's java.sql.Array, but the code is creating an instance of an
> anonymous inner class that implements Array, which is fine:
>
> >>     Array a = new Array() {
> >>       public String getBaseTypeName() {return "int4";}
> [...]
>
> -O
>


--
You can make the world a better place for humanity!
http://gawadkalinga.org
http://www.childrenshour.org.ph
http://www.handsonmla.org

http://groups.yahoo.com/group/pinoyjug
http://jojopaderes.blogsome.com
http://jojopaderes.multiply.com

"In preparing for battle I have always found that plans are useless,
but planning is indispensable." - Eisenhower


view thread (7+ messages)

Message-ID: <65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.com>
Permalink:  ../65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.com/
Also on:    postgresql.org/message-id/65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.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: jojo.paderes@gmail.com, oliver@opencloud.com
  Subject: Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()]
  In-Reply-To: <65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.com>
  References: <4bd3e1480511120921y6359a0achab46a321b4802219@mail.gmail.com> <Pine.BSO.4.61.0511130347040.6118@leary.csoft.net> <4bd3e1480511131556o58dbeae8y7a08dc55927010e0@mail.gmail.com> <A427CF93-7A30-483A-B98C-FD19B60733F4@fastcrypt.com> <65f9ddfb0511200803q6df02e33l52589649da2be071@mail.gmail.com> <43811145.6080004@opencloud.com> <65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.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