Error when attempting to call Connection.createArrayOf() method - Mailing list pgsql-jdbc

From Allan Kamau
Subject Error when attempting to call Connection.createArrayOf() method
Date
Msg-id ab1ea6540912160538m663c722bg3f928ad15c90dd0@mail.gmail.com
Whole thread Raw
In response to Error when attempting to call Connection.createArrayOf() method  (Allan Kamau <kamauallan@gmail.com>)
Responses Re: Error when attempting to call Connection.createArrayOf() method
Re: Error when attempting to call Connection.createArrayOf() method
Re: Error when attempting to call Connection.createArrayOf() method
List 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 by date:

Previous
From: Allan Kamau
Date:
Subject: Error when attempting to call Connection.createArrayOf() method
Next
From: Guillaume Cottenceau
Date:
Subject: Re: Error when attempting to call Connection.createArrayOf() method