Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 1E8E26338EC for ; Wed, 16 Dec 2009 09:38:47 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 02124-02-7 for ; Wed, 16 Dec 2009 13:38:37 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mail.postgresql.org (Postfix) with ESMTP id C20AA6338D9 for ; Wed, 16 Dec 2009 09:38:14 -0400 (AST) Received: by ey-out-2122.google.com with SMTP id 25so220804eya.33 for ; Wed, 16 Dec 2009 05:38:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=hh6QoiFKPRggXOGl2fUKsQEl4S9fY27s3J5pfhvk4MM=; b=kCfJuPi2irahhy7r6a3tz1663rtp4qRm8tIOG356FO/8R8YSc+7dptAtsFspdmNEHa Ll23Mp5k1Yy9EaZjTDolaQAHC+xUVA7FwhQN3BgKTX2bLHL4rkFgQme3JOZaM9o9p31W VMzsw3q8SLkm0THLFho4h5DeE84uTplF4RX1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=hI064D4BiCAuPeVA7j++dSaXq9QbO7quldu2hXCWPeZC+0lOpKkoM56yYXGLJcSvqQ c48llrsH4y4Gz07lVrzuuilfEKGsHpPEZMK0yApByhA/8g9CtOtBns6UZXObLwvfPgQo 5awc3MJenYBkNgSfFFp2zmo91oBfKaurK+aa4= MIME-Version: 1.0 Received: by 10.213.25.75 with SMTP id y11mr1191080ebb.49.1260970688799; Wed, 16 Dec 2009 05:38:08 -0800 (PST) In-Reply-To: References: Date: Wed, 16 Dec 2009 16:38:08 +0300 Message-ID: Subject: Error when attempting to call Connection.createArrayOf() method From: Allan Kamau To: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-0.185 tagged_above=-10 required=5 tests=BAYES_40=-0.185 X-Spam-Level: X-Archive-Number: 200912/48 X-Sequence-Number: 20129 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.