Bug: error is throw with the sample config of MySQL.

Fix: set relaxAutoCommit to true on url under MySQL sample config.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378435 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Frederick G. Oconer 2006-02-17 05:21:26 +00:00
parent 974f4172bc
commit 4dd80d3369
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
<!-- <!--
<bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> <bean id="mysql-ds" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName" value="com.mysql.jdbc.Driver"/> <property name="driverClassName" value="com.mysql.jdbc.Driver"/>
<property name="url" value="jdbc:mysql://localhost/activemq"/> <property name="url" value="jdbc:mysql://localhost/activemq?relaxAutoCommit=true"/>
<property name="username" value="activemq"/> <property name="username" value="activemq"/>
<property name="password" value="activemq"/> <property name="password" value="activemq"/>
<property name="poolPreparedStatements" value="true"/> <property name="poolPreparedStatements" value="true"/>