Re: passing array as parameters to PrepareStatement or callable statement.[setObject() or setArray()]
В списке pgsql-jdbc по дате отправления:
| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера