tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "starki78" <stark...@libero.it>
Subject How to set auto-commit to false on a Tomcat Connection-Pool?
Date Tue, 02 Aug 2005 08:37:51 GMT
Hi, my example works but I cannot set the 
autocommit paramter, but this is quite important to me.
Can someone give me advice?

Thanks Starki


 <ResourceParams name="jdbc/test">
      <parameter>
        <name>validationQuery</name>
        <value>select * from dual</value>
      </parameter>
      <parameter>
        <name>maxWait</name>
        <value>5000</value>
      </parameter>
      <parameter>
        <name>maxActive</name>
        <value>4</value>
      </parameter>
      <parameter>
        <name>password</name>
        <value>xtest</value>
      </parameter>
      <parameter>
        <name>url</name>
        <value>jdbc:oracle:thin:@xinfosap.w1:1521:orcl;autocommit=false</value>
      </parameter>
      <parameter>
        <name>driverClassName</name>
        <value>oracle.jdbc.driver.OracleDriver</value>
      </parameter>
      <parameter>
        <name>auto-commit</name>
        <value>false</value>
      </parameter>
      <parameter>
        <name>autoCommit</name>
        <value>false</value>
      </parameter>
      <parameter>
        <name>autocommit</name>
        <value>false</value>
      </parameter>
      <parameter>
        <name>maxIdle</name>
        <value>2</value>
      </parameter>
      <parameter>
        <name>username</name>
        <value>xtest</value>
      </parameter>
    </ResourceParams>




____________________________________________________________
6X velocizzare la tua navigazione a 56k? 6X Web Accelerator di Libero!
Scaricalo su INTERNET GRATIS 6X http://www.libero.it



---------------------------------------------------------------------
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