pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Jojo Paderes <jojo.paderes@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: passing array as parameters to PrepareStatement or callable
Date: Mon, 21 Nov 2005 13:13:57 +1300
Message-ID: <43811145.6080004@opencloud.com> (raw)
In-Reply-To: <65f9ddfb0511200803q6df02e33l52589649da2be071@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>

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



view thread (7+ messages)  latest in thread

Message-ID: <43811145.6080004@opencloud.com>
Permalink:  ../43811145.6080004@opencloud.com/
Also on:    postgresql.org/message-id/43811145.6080004@opencloud.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: oliver@opencloud.com, jojo.paderes@gmail.com
  Subject: Re: passing array as parameters to PrepareStatement or callable
  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>

* 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