Skip to content

Commit b1c2f35

Browse files
committed
fix: prevent H2 shutdown warnings by disabling DB_CLOSE_ON_EXIT
1 parent b12e751 commit b1c2f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
spring.main.web-application-type=none
22
#datasource settings
3-
spring.datasource.url=jdbc:h2:mem:testdb
3+
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
44
spring.datasource.driverClassName=org.h2.Driver
55
spring.datasource.username=sa
66
spring.datasource.password=sa

0 commit comments

Comments
 (0)