Browse Source

Polish "Document that spring-boot-h2console is required"

We can simplify the original proposal as spring-boot-h2console brings
H2 if needed.

See gh-48278
pull/48295/head
Stéphane Nicoll 3 weeks ago
parent
commit
0cc2e57461
  1. 3
      documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/data/sql.adoc

3
documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/data/sql.adoc

@ -346,8 +346,7 @@ The https://www.h2database.com[H2 database] provides a https://www.h2database.co @@ -346,8 +346,7 @@ The https://www.h2database.com[H2 database] provides a https://www.h2database.co
The console is auto-configured when the following conditions are met:
* You are developing a servlet-based web application.
* `org.springframework.boot:spring-boot-h2console` added as dependency.
* `com.h2database:h2` is on the classpath.
* `org.springframework.boot:spring-boot-h2console` is on the classpath.
* You are using xref:using/devtools.adoc[Spring Boot's developer tools].
TIP: If you are not using Spring Boot's developer tools but would still like to make use of H2's console, you can configure the configprop:spring.h2.console.enabled[] property with a value of `true`.

Loading…
Cancel
Save