Why does Spring Batch use 1 database connection for each thread?
问题 Why does Spring Batch use 1 database connection for each thread? Stack: Java 8 Spring Boot 1.5 Spring Batch 3.0.7 HikariCP 2.7.6 DataSource config: batcdb (postgres) readdb (oracle) writedb (postgres) Each datasource is using HikariCP with default 10 connections each. Spring Batch config: ThreadExecutor-1: core-pool-size: 10 max-pool-size: 10 throttle-limit: 10 Job-1 Config / ThreadPoolTaskExecutor: (pool sizes and throttle limit set via application.yml) @Bean public Step job1Step() { return