Configure H2 database and add repositories
This commit is contained in:
9
src/main/resources/application.yml
Normal file
9
src/main/resources/application.yml
Normal 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
|
||||
Reference in New Issue
Block a user