commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Paul" <antonypau...@hotmail.com>
Subject DBCP - getting and closing connections and rollback()
Date Sat, 15 Nov 2003 12:50:13 GMT
Hello,
    I am using DBCP available with TOmcat 4.1.27. I use a static
synchronised method to get the connection from pool. In DBCP configuration
no parameter is setting the transaction status(setAutoCommit()). I want to
know what is happening when getting a connection from pool. Do I have to
call rollback()  before giving  the connection to client or do DBCP itself
does this. I feel that calling rollback() causes a performance penalty.

Antony Paul.

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


Mime
View raw message