Thank you very much for the video! Can we use a second step or a second processor to send an email? Assume the following scenario, step 1 will read data from csv, process the data and then write the data into the database. Then, step 2 will prepare and send emails containing a body which describes how many records were processed by step 1, when they were processed, how many were successfully inserted into the database and how many failed to be inserted into the database. Maybe some record of the cvs failed to pass our business logic and as a result they were not inserted into the database. Therefore, we should know how many records failed, which were the records that failed and why they failed. How could we implement the above requirement? Using two steps of using two processors? Thank you in advance!
great tutorial, what about if i need to read data from oracle database and then this data returned has to be processed by a mysql stored procedure and write the result in a mysql table, how can i achieve this ? it is possible? thank you for share your knowledge
@Bean public Job bookReaderJob(JobRepository jobRepository, PlatformTransactionManager transactionManager) { return new JobBuilder("bookReadJob", jobRepository) .incrementer(new RunIdIncrementer()) .start(taskletStep(jobRepository, transactionManager)) .build(); } from where its picking jobRepository? as i am getting nullpointer exception for that.
You are a legend. Thank you so much
You are great ❤ love your effort really appreciated 👌
Excellet tutorial, pretty useful.
Thank you very much for the video! Can we use a second step or a second processor to send an email?
Assume the following scenario, step 1 will read data from csv, process the data and then write the data into the database. Then, step 2 will prepare and send emails containing a body which describes how many records were processed by step 1, when they were processed, how many were successfully inserted into the database and how many failed to be inserted into the database. Maybe some record of the cvs failed to pass our business logic and as a result they were not inserted into the database. Therefore, we should know how many records failed, which were the records that failed and why they failed.
How could we implement the above requirement? Using two steps of using two processors?
Thank you in advance!
great tutorial, what about if i need to read data from oracle database and then this data returned has to be processed by a mysql stored procedure and write the result in a mysql table, how can i achieve this ? it is possible? thank you for share your knowledge
can we use spring batch with a no sql database like firestore to write the data?
How to repeat HTTP job if remote server is failed, how to repeat?
@Bean
public Job bookReaderJob(JobRepository jobRepository, PlatformTransactionManager transactionManager) {
return new JobBuilder("bookReadJob", jobRepository)
.incrementer(new RunIdIncrementer())
.start(taskletStep(jobRepository, transactionManager))
.build();
}
from where its picking jobRepository? as i am getting nullpointer exception for that.
From Spring Context. Make sure you're using the latest version of Spring Boot
🙋♂️ me too
👍👍👍👍👍👍👍👍👍
awsome