From: | Jojo Paderes <jojo(dot)paderes(at)gmail(dot)com> |
---|---|
To: | Oliver Jowett <oliver(at)opencloud(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()] |
Date: | 2005-11-21 05:56:16 |
Message-ID: | 65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Ah, didn't notice that. Thanks for the clarification :-)
On 11/21/05, Oliver Jowett <oliver(at)opencloud(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Oliver Jowett | 2005-11-21 06:38:28 | Re: Creating a database using ant |
Previous Message | Jan de Visser | 2005-11-21 05:19:11 | Re: Creating a database using ant |