Skip to content

Commit b018142

Browse files
committed
polish
1 parent 7ef3b7a commit b018142

File tree

1 file changed

+1
-1
lines changed
  • data/posts/2025-12-24-spring-boot-batch-datasource-and-transaction-manager

1 file changed

+1
-1
lines changed

data/posts/2025-12-24-spring-boot-batch-datasource-and-transaction-manager/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class BatchConfig: DefaultBatchConfigurer() {
2929

3030
* 하나의 datasource만 사용하는 경우에는 EnableBatchProcessing 어노테이션 + application.yaml(spring.datasource) 로 설정하면 됨
3131
* 위 방법만으로 원하는 설정이 불가능한 경우에는 아래와 같이 진행
32-
* DefaultBatchConfiguration의 getTransactionManager / get(set)DataSource override를 통해 가능할 것으로 보임
32+
* DefaultBatchConfiguration의 getTransactionManager / getDataSource override를 통해 가능할 것으로 보임
3333
* in-memory로 쓰고 싶은 경우 h2 database 사용 필요. DefaultBatchConfigurer / MapJobRepository 가 removed 되어 아래와 같이 연동
3434
```kotlin
3535
@Configuration

0 commit comments

Comments
 (0)