Skip to content

Commit bcbcb9c

Browse files
committed
Clarify use of DataSource for batch apps
Closes gh-8271
1 parent 6619400 commit bcbcb9c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

spring-boot-docs/src/main/asciidoc/howto.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2261,6 +2261,11 @@ your application defines, if any.
22612261
[[howto-batch-applications]]
22622262
== Batch applications
22632263

2264+
NOTE: By default, batch applications require a `DataSource` to store job details. If you
2265+
want to deviate from that, you'll need to implement `BatchConfigurer`, see
2266+
{spring-batch-javadoc}/core/configuration/annotation/EnableBatchProcessing.html[The
2267+
Javadoc of @EnableBatchProcessing] for more details.
2268+
22642269

22652270

22662271
[[howto-execute-spring-batch-jobs-on-startup]]

spring-boot-docs/src/main/asciidoc/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Phillip Webb; Dave Syer; Josh Long; Stéphane Nicoll; Rob Winch; Andy Wilkinson;
4141
:spring-webservices-reference: http://docs.spring.io/spring-ws/docs/{spring-webservices-docs-version}/reference/htmlsingle
4242
:spring-javadoc: http://docs.spring.io/spring/docs/{spring-docs-version}/javadoc-api/org/springframework
4343
:spring-amqp-javadoc: http://docs.spring.io/spring-amqp/docs/current/api/org/springframework/amqp
44+
:spring-batch-javadoc:http://docs.spring.io/spring-batch/apidocs/org/springframework/batch
4445
:spring-data-javadoc: http://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa
4546
:spring-data-commons-javadoc: http://docs.spring.io/spring-data/commons/docs/current/api/org/springframework/data
4647
:spring-data-mongo-javadoc: http://docs.spring.io/spring-data/mongodb/docs/current/api/org/springframework/data/mongodb

0 commit comments

Comments
 (0)