spring-batch
spring-batch copied to clipboard
Spring Batch is a framework for writing batch applications using Java and Spring
In order to take an if-else decision based on job arguments (specifically, my job can be executed against a "reference date" so I can pass it from command like), I...
These are the unit tests for https://github.com/spring-projects/spring-batch/pull/718 They can cover the added 2 ExecutionContext.get methods. - https://github.com/spring-projects/spring-batch/blob/53e33c06e9cabdd8794b748b4cd58a3fbd65e321/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java#L270-L276 - https://github.com/spring-projects/spring-batch/blob/53e33c06e9cabdd8794b748b4cd58a3fbd65e321/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ExecutionContext.java#L290-L300
**Bug description** I have multiple instances of the application running so the job gets triggered multiple times but I want only one job to actually run. I have provided the...
I am using Spring Boot + Batch v2.7.1 in my project and looks like there is a bug when Reading from FlatFileItemReader using ClassifierCompositeItemWriter and MultiResourceItemWriter as itemCountLimitPerResource value doesn't...
While tyring to use projections in item reader, always getting "NoSuchMethodException" (for the projection method in jpa repository). Tried multiple ways, although same works when invoking via say a controller....
Hello, I believe there might be a better way to implement the RedisItemReader and RedisItemWriter. Currently, the RedisItemReader stores the Redis data's value in the chunk. The RedisItemWriter then uses...
JobParameters are managed by `org.springframework.batch.core.scope.context.SynchronizationManagerSupport#executionHolder` using ThreadLocal, which prevents [SpEL](https://docs.spring.io/spring-framework/reference/core/expressions.html#page-title) bindings (`@Value("#{jobParameters['param']}")`) from working correctly in other threads. However, JobParameters are typically read-only and do not change during batch execution....
**Bug description** I have a spring batch job with eg : 4 steps, the second steps fails and the flow is such that I need to update details so it...
Hello, I believe there might be a better way to implement the RedisItemReader and RedisItemWriter. Currently, the RedisItemReader stores the Redis data's value in the chunk. The RedisItemWriter then uses...
### Description In a Spring Batch project using PostgreSQL, a bug arises due to PostgreSQL's handling of column names and sort keys, particularly when using quoted identifiers. PostgreSQL converts all...