Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 878FC633CF6 for ; Tue, 7 Apr 2009 10:41:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 83801-01 for ; Tue, 7 Apr 2009 10:41:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.televork.ee (mail.televork.ee [81.21.241.190]) by mail.postgresql.org (Postfix) with ESMTP id 24E62633C32 for ; Tue, 7 Apr 2009 10:41:27 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mail.televork.ee (Postfix) with ESMTP id 791E5185B5A; Tue, 7 Apr 2009 16:41:03 +0300 (EEST) X-Virus-Scanned: at mail.televork.ee Received: from mail.televork.ee ([81.21.241.190]) by localhost (mail.televork.ee [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oqVCX5PRljsK; Tue, 7 Apr 2009 16:40:55 +0300 (EEST) Received: from [127.0.0.1] (81-21-242-98.televork.ee [81.21.242.98]) by mail.televork.ee (Postfix) with ESMTP id 96F10185ACD; Tue, 7 Apr 2009 16:40:55 +0300 (EEST) Subject: Re: What do people use for connection pooling with PostgreSQL JDBC From: Hannu Krosing To: Oliver Jowett Cc: Dave Cramer , pgsql-jdbc@postgresql.org In-Reply-To: <49DB5448.3050204@opencloud.com> References: <1236241901.12460.6.camel@huvostro> <491f66a50903050513r46ab0531h4892e973dec51f18@mail.gmail.com> <1239016398.8411.2.camel@huvostro> <491f66a50904060443o7e80fae8mfb6f403fb9a53467@mail.gmail.com> <1239093322.7647.9.camel@huvostro> <491f66a50904070324g19aee516vb5b1922b23450a27@mail.gmail.com> <1239110612.7647.15.camel@huvostro> <49DB5448.3050204@opencloud.com> Content-Type: text/plain Date: Tue, 07 Apr 2009 16:40:55 +0300 Message-Id: <1239111655.7647.17.camel@huvostro> Mime-Version: 1.0 X-Mailer: Evolution 2.24.3 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200904/12 X-Sequence-Number: 19459 On Wed, 2009-04-08 at 01:25 +1200, Oliver Jowett wrote: > Hannu Krosing wrote: > > > I understand that dbcp and c3po work on some other databases jdbc > > drivers, so maybe I could also do > > > > 4) fix jdbc code to provide required createArrayOf support > > > > no ? > > You could start by showing us the actual exception that you get? for dbcp - java.lang.AbstractMethodError: org.apache.tomcat.dbcp.dbcp.PoolingDataSource $PoolGuardConnectionWrapper.createArrayOf(Ljava/lang/String;[Ljava/lang/Object;)Ljava/sql/Array; for c3p0 - java.lang.AbstractMethodError: com.mchange.v2.c3p0.impl.NewProxyConnection.createArrayOf(Ljava/lang/String;[Ljava/lang/Object;)Ljava/sql/Array; > -O > -- Hannu Krosing http://www.2ndQuadrant.com PostgreSQL Scalability and Availability Services, Consulting and Training