From: tfinneid@student.matnat.uio.no
To: Mark Lewis <mark.lewis@mir3.com>
Cc: tfinneid@student.matnat.uio.no
Cc: pgsql-jdbc@postgresql.org
Cc: kato@iki.fi
Subject: Re: pg jdbc and dbcp error
Date: Mon, 1 Oct 2007 17:03:42 +0200 (CEST)
Message-ID: <34287.134.32.140.234.1191251022.squirrel@webmail.uio.no> (raw)
In-Reply-To: <1191249611.5495.104.camel@archimedes>
References: <34154.134.32.140.234.1191248430.squirrel@webmail.uio.no>
<1191249611.5495.104.camel@archimedes>
> If you instead cast the connection to a DelegatingConnection (the DBCP
> wrapper class), then you can invoke the .getInnermostDelegate() method
> and get a handle to the underlying PG Connection object.
Thanks, that cleared up that error, but then I got another error:
NullPointerException
It claims that the delegate does not exist, so it returns null instead.
Any ideas?
(BTW, if anybody knows of a good tutorial on DBCP, i would appreciate it
enormously. The documentation on the web page of DBCP just confuses me.)
regards
thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tfinneid@student.matnat.uio.no, mark.lewis@mir3.com, kato@iki.fi
Subject: Re: pg jdbc and dbcp error
In-Reply-To: <34287.134.32.140.234.1191251022.squirrel@webmail.uio.no>
References: <34154.134.32.140.234.1191248430.squirrel@webmail.uio.no> <1191249611.5495.104.camel@archimedes> <34287.134.32.140.234.1191251022.squirrel@webmail.uio.no>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox