commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kostas Papadopoulos" <kostas.g.papadopou...@gmail.com>
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
somewhere.

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

Thanks
Kostas

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


Mime
View raw message