diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..643ac40 --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,31 @@ +spring: + application: + name: proj-acquirex + + datasource: + url: jdbc:h2:mem:acquirexdb;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE + driver-class-name: org.h2.Driver + username: sa + password: + + jpa: + hibernate: + ddl-auto: create-drop + show-sql: true + properties: + hibernate: + format_sql: true + dialect: org.hibernate.dialect.H2Dialect + + h2: + console: + enabled: true + path: /h2-console + +server: + port: 8080 + +logging: + level: + com.acquirex: DEBUG + org.hibernate.SQL: DEBUG \ No newline at end of file