Commit 539795c
committed
Don't use a unique name for H2 database
In spring-session.sample-boot-jdbc we set
spring.datasource.generate-unique-name=false
so the documentation's reference to "jdbc:h2:mem:testdb" is correct
(see spring-session-docs/modules/ROOT/pages/guides/boot-jdbc.adoc).
Spring Boot sets this property to "true" by default, which results in
the embedded H2 database getting a random name (instead of "testdb").
Signed-off-by: Johan Kaving <johan@kaving.se>1 parent b0b2bfa commit 539795c
File tree
1 file changed
+1
-0
lines changed- spring-session-samples/spring-session-sample-boot-jdbc/src/main/resources
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
0 commit comments