Re: pg jdbc and dbcp error - Mailing list pgsql-jdbc

From tfinneid@student.matnat.uio.no
Subject Re: pg jdbc and dbcp error
Date
Msg-id 34287.134.32.140.234.1191251022.squirrel@webmail.uio.no
Whole thread Raw
In response to Re: pg jdbc and dbcp error  ("Mark Lewis" <mark.lewis@mir3.com>)
Responses Re: pg jdbc and dbcp error
List pgsql-jdbc
> 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


pgsql-jdbc by date:

Previous
From: "Mark Lewis"
Date:
Subject: Re: pg jdbc and dbcp error
Next
From: Mark Lewis
Date:
Subject: Re: pg jdbc and dbcp error