From: Mark Lewis <mark.lewis@mir3.com>
To: tfinneid@student.matnat.uio.no
Cc: pgsql-jdbc@postgresql.org
Cc: kato@iki.fi
Subject: Re: pg jdbc and dbcp error
Date: Mon, 01 Oct 2007 08:42:19 -0700
Message-ID: <1191253339.5495.112.camel@archimedes> (raw)
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>
On Mon, 2007-10-01 at 17:03 +0200, tfinneid@student.matnat.uio.no wrote:
> > 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?
What is returning null? You need to be more specific. Could you post a
code snippet?
Also, this isn't really PG-specific, this is a DBCP issue. I'll help
you with it if you want, but after this message let's drop it from the
list to avoid cluttering up pg-jdbc.
-- Mark
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: mark.lewis@mir3.com, tfinneid@student.matnat.uio.no, kato@iki.fi
Subject: Re: pg jdbc and dbcp error
In-Reply-To: <1191253339.5495.112.camel@archimedes>
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> <1191253339.5495.112.camel@archimedes>
* 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