aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2024-07-01 00:04:39 +0300
committerGravatar Vitaly Takmazov2024-07-01 00:04:39 +0300
commit2e42d368fd373990b1b019a3ef267620d7603f8d (patch)
tree1732c5bd72e7dadea3d453199a85b85bfe50e51a
parentce61e2143a358d6c187b6c3473ab114c60ab4724 (diff)
JPA: add SQLite support
-rw-r--r--pom.xml4
-rw-r--r--src/test/resources/application-sqlite.yml3
2 files changed, 6 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 5f60d4b0..e9388496 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,10 @@
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
+ <groupId>org.hibernate.orm</groupId>
+ <artifactId>hibernate-community-dialects</artifactId>
+ </dependency>
+ <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
</dependency>
diff --git a/src/test/resources/application-sqlite.yml b/src/test/resources/application-sqlite.yml
index 9ffa0833..60cd1392 100644
--- a/src/test/resources/application-sqlite.yml
+++ b/src/test/resources/application-sqlite.yml
@@ -8,4 +8,5 @@ spring:
init:
platform: sqlite
mode: always
-
+ jpa:
+ database-platform: org.hibernate.community.dialect.SQLiteDialect