summaryrefslogtreecommitdiff
path: root/src/main/resources
diff options
context:
space:
mode:
authorSzymon Szukalski <szymon@skas.io>2024-07-25 10:36:15 +1000
committerSzymon Szukalski <szymon@skas.io>2024-07-25 10:36:15 +1000
commitbac742fe816a349d75db28fc44e5cca22776bb1a (patch)
tree3497209e14c653c5c4f3d190a31845adccb5842f /src/main/resources
parent7be6f97a98429485ff35b12798bdb8e7b8facf19 (diff)
Use in-memory database (H2) for tests
Diffstat (limited to 'src/main/resources')
-rw-r--r--src/main/resources/application.properties6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties
index 42e8f9a..3600371 100644
--- a/src/main/resources/application.properties
+++ b/src/main/resources/application.properties
@@ -1,12 +1,12 @@
spring.application.name=markr
-
# PostgreSQL Configuration
spring.datasource.url=jdbc:postgresql://localhost:5432/markr
spring.datasource.username=markr_prod
spring.datasource.password=CpfzDA3nR3jH9Ky4
spring.datasource.driver-class-name=org.postgresql.Driver
-
# Hibernate Configuration
spring.jpa.database-platform=org.hibernate.dialect.PostgreSQLDialect
spring.jpa.hibernate.ddl-auto=update
-spring.jpa.show-sql=false \ No newline at end of file
+spring.jpa.show-sql=false
+# Disable Open Session in View
+spring.jpa.open-in-view=false \ No newline at end of file