Skip to content

Commit fd7dd5f

Browse files
committed
Change the default transaction isolation level to DEFAULT in AbstractJobExplorerFactoryBean
Resolves #4230
1 parent f72e0f4 commit fd7dd5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/explore/support/AbstractJobExplorerFactoryBean.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void afterPropertiesSet() throws Exception {
120120
if (this.transactionAttributeSource == null) {
121121
Properties transactionAttributes = new Properties();
122122
String transactionProperties = String.join(",", TRANSACTION_PROPAGATION_PREFIX + Propagation.SUPPORTS,
123-
TRANSACTION_ISOLATION_LEVEL_PREFIX + Isolation.READ_COMMITTED);
123+
TRANSACTION_ISOLATION_LEVEL_PREFIX + Isolation.DEFAULT);
124124
transactionAttributes.setProperty("get*", transactionProperties);
125125
transactionAttributes.setProperty("find*", transactionProperties);
126126
this.transactionAttributeSource = new NameMatchTransactionAttributeSource();

0 commit comments

Comments
 (0)