On Sun, 14 Jan 2001 23:25:36 -0500, Jay Walters
<[EMAIL PROTECTED]> wrote:
>Remember that java.sql.Connection is an interface, so the container can
>easily provide a wrapper in between your application and the real JDBC
>driver to do whatever it wants. There was just an article in Java Report
>about ways to extend JDBC drivers yourself using essentially the same
>techniques.
>
Thanks for the reply. I dug into the source code for the J2EE RI and
found out that is indeed what happens. I can work with this easily
enough, but I don't like it for two reasons; one, it breaks the
semantics of the Connection.close() method as described in the API
docs, and two, the 1.1 spec is very vague on the subject, so one can
only hope that all of the various containers out there will implement
a wrapper correctly. I think I'd prefer to see a
DataSource.releaseConnection(Connection) method. It would be a little
bit more intuitive to use.
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".