Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
[#141] in-memory db
Browse files Browse the repository at this point in the history
  • Loading branch information
jenarp committed Jan 31, 2022
1 parent fb8841e commit a271663
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
<version>2.1.210</version>
</dependency>

<dependency>
Expand Down
17 changes: 4 additions & 13 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,19 +111,10 @@ server:
---
spring:
datasource:
driver-class-name: org.h2.Driver
username:
password:
url: jdbc:h2:./src/main/resources/data/appuser;AUTO_SERVER=TRUE
jpa:
hibernate:
ddl-auto: create-drop
show-sql: true
properties:
hibernate:
format_sql: true
dialect: org.hibernate.dialect.H2Dialect
h2:
console:
enabled: false
jpa.show-sql: true
# h2:
# console:
# enabled: false

0 comments on commit a271663

Please sign in to comment.