It's an example to Spring Batch Application
!warning! Look to the branches
- Spring Batch
- Creating a Batch Service
- Configuring and Running a Job
- Running Jobs from within a Web Container
- Spring Batch + H2 Database Example
- Spring Batch + Spring Boot Java Config Example
- Spring Batch Framework - Auto create Batch Table
sudo docker run -p 5432:5432 -d \
--name springbatch_postgres \
-e POSTGRES_PASSWORD=postgres \
-e POSTGRES_USER=postgres \
-e POSTGRES_DB=test \
-v pgdata:/var/lib/postgresql/data \
postgres
- Show H2 Console at Browser: http://localhost:8080/h2-console
- Execute Job: http://localhost:8080/job
Configuration H2 Console
Saved Settings: Generic H2 (Embedded)
Setting Name: Generic H2 (Embedded)
Driver Class: org.h2.Driver
JDBC URL: jdbc:h2:mem:testdb
User Name: sa
Password: <Empty>