You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/09/20 17:04:31 UTC

DO NOT REPLY [Bug 23185] - PoolableConnection.close() won't allow multiple close

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23185>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23185

PoolableConnection.close() won't allow multiple close

dirk.verbeeck@pandora.be changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From dirk.verbeeck@pandora.be  2003-09-20 15:04 -------
I believe this behaviour is intended.
There is a junit test that fails if no exception is thrown:
testCantCloseConnectionTwice()

Also the alternative datasource implementation does the same in
org.apache.commons.dbcp.cpdsadapter.ConnectionImpl

I'm marking this issue WONTFIX until more evidence is presented that throwing an
exception is illegal / undesired.