commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Paul" <>
Subject DBCP - getting and closing connections and rollback()
Date Sat, 15 Nov 2003 12:50:13 GMT
    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:
For additional commands, e-mail:

View raw message