Re: passing array as parameters to PrepareStatement or callable

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

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Aaron Mulder
Дата:
Сообщение: PreparedStatement.getParameterMetaData
Следующее
От: Oliver Jowett
Дата:
Сообщение: Re: PreparedStatement.getParameterMetaData