spring-batch
spring-batch copied to clipboard
Spring Batch is a framework for writing batch applications using Java and Spring
Chunk listeners are not designed to throw exceptions. Exceptions must be handled in the implementation or the step will terminate. This is mentioned in the [javadoc](https://github.com/spring-projects/spring-batch/blob/d280556d0202124df6c8f4a8fcbddee2b123dd73/spring-batch-core/src/main/java/org/springframework/batch/core/step/builder/FaultTolerantStepBuilder.java#L699-L700) of `TerminateOnExceptionChunkListenerDelegate`, but this...
related issue #4384 ### Motivation: ``` Chunk listeners are not designed to throw exceptions. Exceptions must be handled in the implementation or the step will terminate. This is mentioned in...
Whenever occurs an exception in a standard spring batch program (using simple steps without using flows), the exception message is set in JobExecution.ExitStatus.ExitDescription; however when spring batch work with Flows,...
**Bug description** using mongoItemWriter on the sharded cluster throws the following error. ``` org.springframework.data.mongodb.BulkOperationException: Bulk write operation error on server x.x.x.x:50011. Write errors: [BulkWriteError{index=0, code=61, message='Failed to target upsert by...
**Bug description** When a TransactionProxyFactoryBean is configured in a XML-File then the application stops starting with an exception when initializing the datasource because the properties not injected at this time....
**Expected Behavior** `JpaCursorItemReaderBuilder` should have an option to set `fetchSize`, similar to `HibernateCursorItemReader` (which is deprecated) and `JdbcCursorItemReaderBuilder`. **Current Behavior** There is no option to fetch size for query executed...
Spring Data Commons 3.1 introduced the concept of [scrolling](https://docs.spring.io/spring-data/data-commons/reference/repositories/scrolling.html) (spring-projects/spring-data-commons#2787) and I'm particularly interested in scrolling using [keyset-filtering](https://docs.spring.io/spring-data/data-commons/reference/repositories/scrolling.html#repositories.scrolling.keyset), which provides [performance benefits](https://use-the-index-luke.com/no-offset) with large datasets. It would be nice to...
I've tried to add FilePart Object to the JobParameterBuilder but getting the error "No Suitable Convertor to perform conversion from DefaultFilePart to String". ``` org.springframework.core.convert.converternotfoundexception: no converter found capable of...
Bug description In Spring Batch, when defining a Flow with multiple transitions based on a JobExecutionDecider, the order of .from(decider).on(...) declarations is impacting the flow execution unexpectedly. Environment Spring Batch...
**Bug description** Fetching Entities(UserRole in ManyToOne association) described via jakarta.persistence.EmbeddedId in Spring Batch and with JpaCursorItemReader returns always a single value. Example: User has two UserRoles with roleId1=1 and roleId2=4....