tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philipp Taprogge <>
Subject Re: Problem with database updates using DBCP
Date Tue, 23 Dec 2003 19:29:16 GMT

David Ramsey wrote:
> I've not used DBCP specifically but are you sure you are committing
> your writes? Most pools will default rollback connections returned to
> the pool, if I am not mistaken.

Isn't there a parameter autocommit in the ConnectionFactory? I am not 
sure if it's viable to call setAutoCommit() on a connection obtained 
from the pool.
Try specifying autocommit in the DataSource declaration.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message