diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index fc8fca6..5f83829 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -7,6 +7,7 @@ logging: spring: application.name: test-data + datasource.url: jdbc:h2:mem:testdb jpa: open-in-view: false defer-datasource-initialization: true @@ -15,3 +16,9 @@ spring: properties: hibernate.format_sql: true sql.init.mode: always + +--- + +spring: + config.activate.on-profile: test + datasource.url: jdbc:h2:mem:testdb;MODE=MySQL;DATABASE_TO_LOWER=TRUE