Configure H2 database and add repositories

This commit is contained in:
2023-05-06 22:54:19 +02:00
parent a4be85620f
commit efc9f9c77c
10 changed files with 59 additions and 6 deletions

View File

@@ -0,0 +1,9 @@
spring:
datasource:
url: jdbc:h2:mem:testdb;DB_CLOSE_ON_EXIT=FALSE;DB_CLOSE_DELAY=-1
driver-class-name: org.h2.Driver
username: bank
password: bankPassword
jpa:
database-platform: org.hibernate.dialect.H2Dialect
defer-datasource-initialization: true