tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "starki78" <stark...@libero.it>
Subject Problem with autocommit in connection-pool on tomcat
Date Tue, 02 Aug 2005 09:09:38 GMT
Hi, my example works but I cannot set the
autocommit parameter to false, 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>



____________________________________________________________
Libero Flat, sempre a 4 Mega a 19,95 euro al mese! 
Abbonati subito su 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