Skip to content

Commit 15b61e9

Browse files
authored
Merge pull request #425 from kazuki43zoo/gh-420
Bump transactions-jdbc from 4.0.6 to 5.0.3
2 parents afc2b51 + ae11986 commit 15b61e9

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@
150150
<dependency>
151151
<groupId>com.atomikos</groupId>
152152
<artifactId>transactions-jdbc</artifactId>
153-
<version>4.0.6</version>
153+
<version>5.0.3</version>
154154
<scope>test</scope>
155155
</dependency>
156156

src/test/java/org/mybatis/spring/submitted/xa/applicationContext.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@
4747
<bean id="transactionManager" class="com.atomikos.icatch.jta.UserTransactionManager"
4848
init-method="init" destroy-method="close" depends-on="userTransactionService">
4949

50-
<!-- IMPORTANT: disable startup because the userTransactionService above
50+
<!-- IMPORTANT: disable startup because the userTransactionService above
5151
does this -->
5252
<property name="startupTransactionService" value="false" />
5353

54-
<!-- when close is called, should we force transactions to terminate or
54+
<!-- when close is called, should we force transactions to terminate or
5555
not? -->
5656
<property name="forceShutdown" value="false" />
5757
</bean>
@@ -78,6 +78,7 @@
7878
init-method="init" destroy-method="close">
7979
<property name="uniqueResourceName" value="masterDBUniqueName" />
8080
<property name="xaDataSourceClassName" value="org.apache.derby.jdbc.EmbeddedXADataSource" />
81+
<property name="localTransactionMode" value="true"/>
8182
<property name="minPoolSize">
8283
<value>1</value>
8384
</property>
@@ -96,6 +97,7 @@
9697
init-method="init" destroy-method="close">
9798
<property name="uniqueResourceName" value="slaveDBUniqueName" />
9899
<property name="xaDataSourceClassName" value="org.apache.derby.jdbc.EmbeddedXADataSource" />
100+
<property name="localTransactionMode" value="true"/>
99101
<property name="minPoolSize">
100102
<value>1</value>
101103
</property>
@@ -146,4 +148,4 @@
146148
<property name="mapperInterface" value="org.mybatis.spring.submitted.xa.UserMapper" />
147149
</bean>
148150

149-
</beans>
151+
</beans>

0 commit comments

Comments
 (0)