File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
src/test/java/org/mybatis/spring/submitted/xa Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 150
150
<dependency >
151
151
<groupId >com.atomikos</groupId >
152
152
<artifactId >transactions-jdbc</artifactId >
153
- <version >4 .0.6 </version >
153
+ <version >5 .0.3 </version >
154
154
<scope >test</scope >
155
155
</dependency >
156
156
Original file line number Diff line number Diff line change 47
47
<bean id =" transactionManager" class =" com.atomikos.icatch.jta.UserTransactionManager"
48
48
init-method=" init" destroy-method =" close" depends-on =" userTransactionService" >
49
49
50
- <!-- IMPORTANT: disable startup because the userTransactionService above
50
+ <!-- IMPORTANT: disable startup because the userTransactionService above
51
51
does this -->
52
52
<property name =" startupTransactionService" value =" false" />
53
53
54
- <!-- when close is called, should we force transactions to terminate or
54
+ <!-- when close is called, should we force transactions to terminate or
55
55
not? -->
56
56
<property name =" forceShutdown" value =" false" />
57
57
</bean >
78
78
init-method=" init" destroy-method =" close" >
79
79
<property name =" uniqueResourceName" value =" masterDBUniqueName" />
80
80
<property name =" xaDataSourceClassName" value =" org.apache.derby.jdbc.EmbeddedXADataSource" />
81
+ <property name =" localTransactionMode" value =" true" />
81
82
<property name =" minPoolSize" >
82
83
<value >1</value >
83
84
</property >
96
97
init-method=" init" destroy-method =" close" >
97
98
<property name =" uniqueResourceName" value =" slaveDBUniqueName" />
98
99
<property name =" xaDataSourceClassName" value =" org.apache.derby.jdbc.EmbeddedXADataSource" />
100
+ <property name =" localTransactionMode" value =" true" />
99
101
<property name =" minPoolSize" >
100
102
<value >1</value >
101
103
</property >
146
148
<property name =" mapperInterface" value =" org.mybatis.spring.submitted.xa.UserMapper" />
147
149
</bean >
148
150
149
- </beans >
151
+ </beans >
You can’t perform that action at this time.
0 commit comments