提交 f79a24b2 编写于 作者: E Elias Ricken de Medeiros 提交者: mergify[bot]

Remove MVCC flag from test db (#2993)

This flag is no longer supported in the latest version of h2
This should fix https://github.com/Activiti/Activiti/pull/2990

Ref https://github.com/Activiti/Activiti/issues/2991
上级 c9e4ec0e
......@@ -35,11 +35,11 @@
<exclude-unlisted-classes>true</exclude-unlisted-classes>
<properties>
<property name="javax.persistence.jdbc.driver" value="org.h2.Driver" />
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:activiti-jpa;DB_CLOSE_DELAY=1000;MVCC=TRUE" />
<property name="javax.persistence.jdbc.url" value="jdbc:h2:mem:activiti-jpa;DB_CLOSE_DELAY=1000" />
<property name="javax.persistence.jdbc.user" value="sa" />
<property name="javax.persistence.jdbc.password" value="" />
<property name="hibernate.show_sql" value="true" />
<property name="hibernate.hbm2ddl.auto" value="create-drop" />
</properties>
</persistence-unit>
</persistence>
\ No newline at end of file
</persistence>
......@@ -6,7 +6,7 @@
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1;MVCC=TRUE" />
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=-1" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />
......@@ -56,4 +56,4 @@
<property name="defaultTimerJobAcquireWaitTimeInMillis" value="1000" />
</bean>
</beans>
\ No newline at end of file
</beans>
......@@ -6,7 +6,7 @@
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000;MVCC=TRUE" />
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />
......@@ -59,4 +59,4 @@
<bean id="throwMessageDelegateFactory" class="org.activiti.engine.test.bpmn.event.message.MessageThrowCatchEventTest$TestThrowMessageDelegateFactory"/>
</beans>
\ No newline at end of file
</beans>
......@@ -6,7 +6,7 @@
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000;MVCC=TRUE" />
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />
......@@ -66,4 +66,4 @@
<bean id="throwMessageDelegateFactory" class="org.activiti.engine.test.bpmn.event.message.MessageThrowEventTest$MyThrowMessageDelegateFactory"/>
</beans>
\ No newline at end of file
</beans>
......@@ -6,7 +6,7 @@
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000;MVCC=TRUE" />
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />
......
......@@ -6,7 +6,7 @@
<bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration">
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000;MVCC=TRUE" />
<property name="jdbcUrl" value="jdbc:h2:mem:activiti;DB_CLOSE_DELAY=1000" />
<property name="jdbcDriver" value="org.h2.Driver" />
<property name="jdbcUsername" value="sa" />
<property name="jdbcPassword" value="" />
......@@ -57,4 +57,4 @@
<property name="defaultTimerJobAcquireWaitTimeInMillis" value="1000" />
</bean>
</beans>
\ No newline at end of file
</beans>
......@@ -7,7 +7,7 @@
<bean id="processEngineConfiguration"
class="org.activiti.engine.impl.cfg.StandaloneInMemProcessEngineConfiguration">
<property name="jdbcUrl" value="jdbc:h2:mem:activiti-uuid-generator-test;DB_CLOSE_DELAY=1000;MVCC=TRUE" />
<property name="jdbcUrl" value="jdbc:h2:mem:activiti-uuid-generator-test;DB_CLOSE_DELAY=1000" />
<property name="databaseSchemaUpdate" value="true" />
......
......@@ -9,7 +9,7 @@
<property name="targetDataSource">
<bean class="org.springframework.jdbc.datasource.SimpleDriverDataSource">
<property name="driverClass" value="org.h2.Driver"/>
<property name="url" value="jdbc:h2:mem:activiti-spring-async-executor-test;DB_CLOSE_DELAY=1000;mvcc=true;"/>
<property name="url" value="jdbc:h2:mem:activiti-spring-async-executor-test;DB_CLOSE_DELAY=1000;"/>
<property name="username" value="sa"/>
<property name="password" value=""/>
</bean>
......@@ -52,4 +52,4 @@
<property name="defaultAsyncJobAcquireWaitTimeInMillis" value="1000" />
</bean>
</beans>
\ No newline at end of file
</beans>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册