Hi,
One more thing:

On 9/12/06, Mark Barnes <[EMAIL PROTECTED]> wrote:
I look at the current (1.2.1) DBCP source, and it looks like it cannot possibly
be what tomcat 5.5.17 is using.  If my code were to call the 1.2.1 version of
method...

     BasicDataSource.getConnection(String username, String password)

...I would expect to get an UnsupportedOperationException from class
PoolingDataSource.  It's not the outcome I would have hoped for, but at least it
makes it seem someone has at least noted the problem I am having and has written
a "fix" for it, of sorts, making the method unsupported.

No, you're misreading something here.  The JavaDocs on the web site
are for the 1.2.2 (or 1.3, whatever the DBCP committers decided to
call it) release.  They reflect changes made in SVN to throw these
exceptions, probably in response to JIRA issue DBCP-36 which sounds
similar to yours.  In DBCP 1.2.1, these methods do not throw
UnsupportedOperationExceptions, nor are they documented to throw these
exceptions.

Yoav

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to