DBCP config question

2009-08-28 Thread Bill Davidson
Tomcat 6.0.18 Oracle 10g Java 1.6.0_14 I'm a little curious about the defaultAutoCommit parameter. If I understand the docs and things I've googled correctly, if I don't set it, I get the JDBC driver default. More googling, suggests that the default for the Oracle JDBC driver is to have

Re: DBCP config question

2009-08-28 Thread Filip Hanik - Dev Lists
its better to see if there is a way to do it in the JDBC url itself. As soon as you set the defaultAutoCommit flag to a value, DBCP will issue a getAutoCommit and possible setAutoCommit each time you use the connection. Both calls may go back to the DB depending on how the driver implements

RE: DBCP config question

2009-08-28 Thread Martin Gainty
@tomcat.apache.org Subject: Re: DBCP config question its better to see if there is a way to do it in the JDBC url itself. As soon as you set the defaultAutoCommit flag to a value, DBCP will issue a getAutoCommit and possible setAutoCommit each time you use the connection. Both calls may go back