Spring Batch and Spring Boot Flashcards

(3 cards)

1
Q

How do you enable Spring Batch in a Spring Boot application?

A

By adding @EnableBatchProcessing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do you disable Spring Batch’s automatic job execution in Spring Boot?

A

By setting spring.batch.job.enabled=false.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you configure a job repository in Spring Boot?

A

By defining a DataSource and enabling @EnableBatchProcessing.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly