[ http://issues.apache.org/jira/browse/DBCP-47?page=all ]
     
Phil Steitz resolved DBCP-47:
-----------------------------

    Resolution: Cannot Reproduce

The behavior described is consistent with missing commit statements in user 
code.  

> [dbcp] Setting the defaultAutoCommit property to false breaks the MySQL 
> DataSource
> ----------------------------------------------------------------------------------
>
>          Key: DBCP-47
>          URL: http://issues.apache.org/jira/browse/DBCP-47
>      Project: Commons Dbcp
>         Type: Bug

>     Versions: 1.2 Final
>  Environment: Operating System: Windows 2000
> Platform: PC
>     Reporter: Jan

>
> I'm using the following datasource definition in Spring:
>       <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
>               <property 
> name="driverClassName"><value>${jdbc.driverClassName}</value></property>
>               <property name="url"><value>${jdbc.url}</value></property>
>               <property 
> name="username"><value>${jdbc.username}</value></property>
>               <property 
> name="password"><value>${jdbc.password}</value></property>
>           <property name="maxActive"><value>8</value></property>
>           <property name="maxIdle"><value>2</value></property>
>           <property name="maxWait"><value>4000</value></property>
>           <property name="defaultAutoCommit"><value>false</value></property>
>           <property 
> name="defaultTransactionIsolation"><value>2</value></property>
>       </bean>
> When I comment out the "defaultAutoCommit" everything works fine. But when the
> property is included a number of queries don't work. They don't return an 
> error,
> they just don't modify the database as they should.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to