spring-batch
spring-batch copied to clipboard
Spring Batch is a framework for writing batch applications using Java and Spring
Fixes #3857 and allows to control the maximal number of concurrently running steps with the thread pool size of the `TaskExecutor`. Nested splits are explicitly handled in `SplitState` and do...
Resolves #4146. The PR sets a primary key for every table of the Spring Batch schema for MySQL. Currently, the table `BATCH_JOB_EXECUTION_PARAMS` has no unique key. With MySQL, this has...
The conditional flow does not work as stated in the official documentation (https://docs.spring.io/spring-batch/docs/current/reference/html/step.html#controllingStepFlow) Tried with: Spring Boot: 2.6.7 >> 4.3.5 >> Java8 Spring Boot: 2.6.9 >> 4.3.6 >> Java8 ```...
**Bug description** I am trying to read a large amount of data from postgresql using `JpaCursorItemReader`. The postgresql driver basically reads all rows when using a cursor, so there is...
**Bug description** When the uninitialized scoped bean is passed to slf4j log method, log messages inside the constructor of scoped bean are ignored. **Environment** ``` org.springframework.boot:spring-boot-starter-batch:2.7.2 org.springframework.batch:spring-batch-core:4.3.6 org.springframework.boot:spring-boot-starter-logging:2.7.2 ch.qos.logback:logback-classic:1.2.11 org.apache.logging.log4j:log4j-to-slf4j:2.17.2...
When running a job via `SimpleJobLauncher#run` , it creates new JobExecution, but retrieves all executions of the job from database: https://github.com/spring-projects/spring-batch/blob/f5041e6d7038bf4d34c627cfde1f21be4b0badbc/spring-batch-core/src/main/java/org/springframework/batch/core/repository/support/SimpleJobRepository.java#L116 The approach to create new executions should be revised...
**[Jean-Francois Larouche](https://jira.spring.io/secure/ViewProfile.jspa?name=rouche)** opened **[BATCH-2819](https://jira.spring.io/browse/BATCH-2819?redirect=false)** and commented Hi, This commit: https://github.com/spring-projects/spring-batch/commit/7a9a2a9c50c0e1f7b103dd8e81e283e3503a85bb#diff-03a06349c3e7d9dcf99d6433a1d565db When providing our own BatchConfigurer and wiring up the DastaSource correctly, this add a regression when none of the dataSource...
When the documentation generation process runs, it throws some errors: headings out of order in a few places and a few invalid references. The fix is to go through each...
Use spring-asciidoctor-backends for documentation generation. Thank you for taking time to contribute this pull request! You might have already read the [contributor guide][1], but as a reminder, please make sure...
**Bug description** When flow is made by `FlowBuilder`, transition is not initialized. It may cause `FlowExecutionException` when multiple thread runs the same job object with different jobExecutions. ```text [pool-1-thread-11] ERROR...