From 375d421d6dfeef2ca6f8240b0dd5c5b786ec0978 Mon Sep 17 00:00:00 2001 From: Rostislav Raykov Date: Sat, 5 Oct 2024 22:27:54 +0300 Subject: [PATCH] setup sqlite --- pom.xml | 5 +++++ src/main/resources/application.properties | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/pom.xml b/pom.xml index c506cca..bb98470 100644 --- a/pom.xml +++ b/pom.xml @@ -66,6 +66,11 @@ sqlite-jdbc 3.46.0.0 + + org.hibernate + hibernate-community-dialects + 6.5.2.Final + diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e7cd73b..abe4197 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -1 +1,6 @@ spring.application.name=quickdrop +spring.datasource.driver-class-name=org.sqlite.JDBC +spring.jpa.database-platform=org.hibernate.community.dialect.SQLiteDialect +spring.datasource.url=jdbc:sqlite:quickdrop.db +spring.jpa.show-sql=true +spring.jpa.hibernate.ddl-auto=update \ No newline at end of file