Skip to content

Spring batch processing with multiple datasources like mysql and h2

Notifications You must be signed in to change notification settings

Suhas-H-C/spring-batch-v2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

batch-processing-ms-v2

Spring batch data loading mysql(develop) is the implementation that the project contains.

Dependencies needed

  • Spring Batch
  • Lombok
  • Spring Data JPA
  • mySQL connector
  • Spring Batch Test

Steps to load data

  • Build the jar file
mvn clean install
  • Execute the jar file
java -jar spring-batch-ms-0.0.1-SNAPSHOT.jar

Lessons Learned

As of spring 3.X we don't have to enable @EnableBatchProcessing or any logic to exit the main function. Everything is taken care by spring automatically.

🚀 Authors

Suhas H C

About

Spring batch processing with multiple datasources like mysql and h2

Topics

Resources

Stars

Watchers

Forks

Languages