Category "spring-batch"

Failed to execute CommandLineRunner - Spring Batch

Hi I am very new to Spring batch and I am getting the following exception which I am not able to resolve: java.lang.IllegalStateException: Failed to execute Co

cannot handle exceptions in spring batch integration flow

I'm trying to set up a flow that handle exceptions thrown during batch execution (this job is executed through the flow startBatchFlow), but the program ends wi

Method executeQuery cannot be used for update. ERRORCODE=-4476, SQLSTATE=null

I am using Spring batch framework to read from db2 and getting error. Please note that same is working fine with Mysql. When using db2 its making entry in meta

Spring Batch how to process list of data before write in a Step

I am trying to read client data from database and write processed data to a flat file. But I need to process whole result of the ItemReader before write data.

Spring.datasource.initialize=false not working

I am working on spring boot and batch application. Due to batch, the application tries to connect to datasource with spring-boot:run. I want to stop that and t

Spring: Generic RowMapper for dynamic queries

I am using SpringBatch to read from Oracle and write into ElasticSearch. My code works fine for static queries. Example: select emp_id, emp_name from employee_

Spring Batch Framework - Auto create Batch Table

I just created a batch job using Spring Batch framework, but I don't have Database privileges to run CREATE SQL. When I try to run the batch job I hit the error

Parellel Processing Spring Batch StaxEventItemReader

I have a spring batch job defined as follows. <batch:step id="convert"> <batch:tasklet > <batch:chunk reader="contentItemReader" wri

Caused by: com.jcraft.jsch.JSchException: connection is closed by foreign host while using DefaultSftpSessionFactory and SftpInboundFileSynchronizer

I am using spring batch remote partitioning to read input files and process them. To make input files available on all servers, I have added step listener which

How can I write to stdout using FlatFileItemWriter in spring batch?

I have the following writer configured in my beans definition file of a spring batch project : <bean id="writer" class="org.springframework.batch.item.file.