On Wed, 16 Dec 2009, Allan Kamau wrote:
> 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;"
This error is the result of using a JDBC4 method (createArrayOf) on a
non-JDBC4 Connection. Apparently DBCP doesn't support JDBC4. See, for
example, this message:
http://www.mail-archive.com/user@commons.apache.org/msg03376.html
The reply's suggestion of unwrapping the DBCP connection to get the
postgresql connection object is likely to work.
Kris Jurka