Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()]

Поиск
Список
Период
Сортировка
От Jojo Paderes
Тема Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()]
Дата
Msg-id 65f9ddfb0511202156s52d99577qfc652b44838db1cb@mail.gmail.com
обсуждение исходный текст
Ответ на Re: passing array as parameters to PrepareStatement or callable  (Oliver Jowett <oliver@opencloud.com>)
Список 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 по дате отправления:

Предыдущее
От: Nathan McEachen
Дата:
Сообщение: Creating a database using ant
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: Creating a database using ant