Error when attempting to call Connection.createArrayOf() method

Поиск
Список
Период
Сортировка
От Allan Kamau
Тема Error when attempting to call Connection.createArrayOf() method
Дата
Msg-id ab1ea6540912160538m663c722bg3f928ad15c90dd0@mail.gmail.com
обсуждение исходный текст
Ответ на Error when attempting to call Connection.createArrayOf() method  (Allan Kamau <kamauallan@gmail.com>)
Ответы Re: Error when attempting to call Connection.createArrayOf() method  (Guillaume Cottenceau <gc@mnc.ch>)
Re: Error when attempting to call Connection.createArrayOf() method  (Dave Cramer <pg@fastcrypt.com>)
Re: Error when attempting to call Connection.createArrayOf() method  (Kris Jurka <books@ejurka.com>)
Список pgsql-jdbc
I am trying create an array of text to pass to a postgreSQL function
and I am getting the following error
"java.lang.AbstractMethodError:

org.apache.commons.dbcp.PoolingDataSource$PoolGuardConnectionWrapper.createArrayOf(Ljava/lang/String;[Ljava/lang/Object;)Ljava/sql/Array;"


I am using JDBC driver (postgresql-8.4-701.jdbc4.jar) for postgreSQL
and commons-dbcp-1.2.2.jar for connection pooling.

My code like like this.

String[] _input_values={"one","two"};
conn.createArrayOf("text",_input_values)


Allan.

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

Предыдущее
От: Allan Kamau
Дата:
Сообщение: Error when attempting to call Connection.createArrayOf() method
Следующее
От: Guillaume Cottenceau
Дата:
Сообщение: Re: Error when attempting to call Connection.createArrayOf() method