1、Websphere事务隔离级别设置
Data Source custom property : webSphereDefaultIsolationLevel
Possible values : 1, 2, 4, 8
Possible values | JDBC Isolation Level | DB2 Isolation Level |
8 | TRANSACTION_SERIALIZABLE | Repeatable Read (RR) |
4 (default) | TRANSACTION_REPEATABLE_READ | Read Stability (RS) |
2 | TRANSACTION_READ_COMMITTED | Cursor Stability (CS) |
1 | TRANSACTION_READ_UNCOMMITTED | Uncommitted Read (UR) |
2、spring中如何获取WAS的事务管理器
prior to V6.0.2.19 or V6.1.0.9
<bean id="transactionManager" class="org.springframework.transaction.jta.JtaTransactionManager">
<property name="autodetectTransactionManager"value="false" />
</bean>
V6.0.2.19 or V6.1.0.9 or later
<bean id="transactionManager" class="org.springframework.transaction.jta.WebSphereUowTransactionManager"/>