commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kostas Papadopoulos" <>
Subject tomcat and setAutoCommit
Date Tue, 16 Oct 2007 19:50:27 GMT
I'm using tomcat/jdbc/mysql with the tomcat suplied DBCP connection
pool configured with defaultAutoCommit=false. After tracing the
queries sent to the database, I've noticed that a "set autocommit=1"
is always followed by "set autocommit=0". I'm not sure who is setting
"autocommit=1", probably the connection.close()  in the pool

Is there a way to make it stop? Can anyone know of a reason why this
would be needed?


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

View raw message