Michael Becke wrote:
I was thinking that releaseConnection() on the adapter would remove the internal reference to the actual connection. After that the wrapper would not be usable. It could either throw exceptions or just return empty data.

Mike

All right. Actually the close() method could be used for this. We do not need the extra releaseConnection() method.

Let's simply make it like an ordinary pooled database Connection object:
- call pool.getConnection(...)
- call connection.close() when finished to return it to the pool


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



Reply via email to