Skip to content

Commit 56e3e6b

Browse files
committed
adding ';DB_CLOSE_DELAY=-1' to the JDBC URL to keep the in-memory
database populated.
1 parent 459ed56 commit 56e3e6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/resources/application.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ quarkus.index-dependency.yaml.artifact-id=jackson-jaxrs-yaml-provider
3333

3434
# H2
3535
quarkus.datasource.db-kind=h2
36-
quarkus.datasource.jdbc.url=jdbc:h2:mem:videogames
36+
quarkus.datasource.jdbc.url=jdbc:h2:mem:videogames;DB_CLOSE_DELAY=-1
3737
quarkus.hibernate-orm.log.sql=false
3838
quarkus.hibernate-orm.database.generation=drop-and-create
3939
quarkus.hibernate-orm.sql-load-script=import.sql

0 commit comments

Comments
 (0)