commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33167] - [dbcp] Individual connection close method
Date Wed, 02 Feb 2005 21:19:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33167>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33167





------- Additional Comments From srinath5177@hotmail.com  2005-02-02 22:19 -------
JUnit Test case for my initial the code I posted

    public void testClosing1() throws Exception {
        Connection c = null;
        c = ds.getConnection("u1","p1");
        ds.close("u1");
        assertTrue(c.isClosed());
        c = ds.getConnection("u1","p1");
        assertTrue(!c.isClosed());
    }

As far as removing the pool, if we don't leave it will it be reused, inwhich 
case it can be left there. I am not sure about what should be done there.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message