Skip to content

Commit

Permalink
fix: prevent H2 shutdown warnings by disabling DB_CLOSE_ON_EXIT
Browse files Browse the repository at this point in the history
  • Loading branch information
sugan0tech committed Dec 7, 2024
1 parent b12e751 commit b1c2f35
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
spring.main.web-application-type=none
#datasource settings
spring.datasource.url=jdbc:h2:mem:testdb
spring.datasource.url=jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE
spring.datasource.driverClassName=org.h2.Driver
spring.datasource.username=sa
spring.datasource.password=sa

0 comments on commit b1c2f35

Please sign in to comment.