close
Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
151 views

Recently , I have migrated our application to java 17 with Spring 5.1.2 so Spring batch also got migrated from v4 to v5. Did the necessary changes as mentioned in guide book. However, During the first ...
Shaggy's user avatar
  • 11
0 votes
2 answers
357 views

I am trying to access job parameters in an ItemReader as shown below, but when trying some the value cannot be passed or I get some errors e.g. "Failed to initialize the reader: Cannot determine ...
Murat Yıldız's user avatar
2 votes
0 answers
213 views

I have a Job for monthly invoicing. Current job consist from few Steps. I am passing data between Steps using StepExecution and ExecutionContextPromotionListener. We are going to run Job for each ...
Ivan Ivaniv's user avatar
0 votes
1 answer
118 views

I have created a multi-step Spring Batch application. I have defined a separate utility to return a JdbcItemReader instance for each step. Is there any way to make this a generic function? I have ...
Noobcoder's user avatar
0 votes
1 answer
868 views

We have a scenario where whenever a Job is executing STARTED Status the server might crash. In this case to restart the batch I understood from here Spring Batch resume after server's failure, ...
Shreyas Holla P's user avatar
0 votes
2 answers
438 views

I have a spring batch job consisting of ItemReader, ItemProcessor and NoOpItemWriter. I have a rest controller that starts the job using some job parameters. The item reader reads from a list ( that ...
Jazz's user avatar
  • 11
0 votes
1 answer
189 views

Can we integrate Spring Cloud Data Flow with Spring Boot Admin. I am new to these technologies so some additional enlightenment will be appreciated. We have a Spring Boot Admin in place to monitor ...
Kranti Man Singh's user avatar
1 vote
2 answers
735 views

From the tutorial of Spring Batch – Tasklets vs Chunks, When define a ItemReader, ItemProcessor, ItemWriter, should we give them an annotation of @StepScope? Let me give a example code: LineReader has ...
gfan's user avatar
  • 1,109
0 votes
1 answer
1k views

I am integrating Spring Batch in one of the existing applications where other beans are successfully using DataSourceTransactionManager. However, I am getting the following error when I introduce the @...
Jawad Tariq's user avatar
0 votes
1 answer
302 views

Problem statement : I need to compare the details between two different databases and report the mismatches through an excel. One of these data source is a primary Datasource(DB2) which I trust and ...
User003286's user avatar
0 votes
1 answer
1k views

I am working on Spring Batch Unit test and every time I run my test-case I am getting job name as "TestJob". Is it possible to set/alter this and provide a new job name? I tried and worked ...
Sachin Koparde's user avatar
1 vote
1 answer
861 views

I have a Spring Batch reader with following configurations. This reader is reading from the database and and at a time its reading a page size records. @Autowired private SomeCreditRepot ...
John Doe's user avatar
  • 2,952
3 votes
1 answer
5k views

I have a simple csv file that i am reading in chunk of 1000, inserting to database. Now if i want to check if the row exists in db and is equal to input before insert, if exists and row is equal -...
tryCatch's user avatar
1 vote
1 answer
498 views

We are running spring batch with jboss application server (therefore cant run it as spring boot app). Is there any integration options for monitoring/administering spring batch with Spring Cloud ...
rockycres's user avatar
0 votes
3 answers
6k views

I've a SpringBatch Job where I skip all duplicate items write to a Flat file. However the FlatFileItemWriter throws the below error whenever there's a duplicate: Writer must be open before it can be ...
Saum's user avatar
  • 65

15 30 50 per page
1
2 3 4 5
21