Spring Boot 4.1 introduces MongoDB support for Spring Batch’s JobRepository, eliminating the requirement for a separate SQL database. The post walks through a small but complete example that stores batch metadata in MongoDB while reading from CSV and writing to PostgreSQL, including GraalVM native image support.