Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()] - Mailing list pgsql-jdbc

From Jojo Paderes
Subject Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()]
Date
Msg-id 65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.com
Whole thread Raw
In response to Re: passing array as parameters to PrepareStatement or callable  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Nathan McEachen
Date:
Subject: Creating a database using ant
Next
From: Oliver Jowett
Date:
Subject: Re: Creating a database using ant