Re: pg jdbc and dbcp error

From: tfinneid(at)student(dot)matnat(dot)uio(dot)no
To: "Mark Lewis" <mark(dot)lewis(at)mir3(dot)com>
Cc: tfinneid(at)student(dot)matnat(dot)uio(dot)no, pgsql-jdbc(at)postgresql(dot)org, kato(at)iki(dot)fi
Subject: Re: pg jdbc and dbcp error
Date: 2007-10-01 15:03:42
Message-ID: 34287.134.32.140.234.1191251022.squirrel@webmail.uio.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Mark Lewis 2007-10-01 15:42:19 Re: pg jdbc and dbcp error
Previous Message Eric Faulhaber 2007-10-01 14:43:43 Re: pg jdbc and dbcp error