tomcat-users mailing list archives

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

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.

	Phil


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


Mime
View raw message