SQLite with Spring Boot

Added custom dialect for SQLite database.

Simplify spring-data-rest Configuration

Now uses profiles so that learners don't need to uncomment code in
order for demonstrations to work.

Issue: BAEL-2213
This commit is contained in:
Josh Cummings
2018-12-01 00:40:53 -07:00
committed by GitHub
parent eb1a92698b
commit 51352c470f
6 changed files with 142 additions and 3 deletions
+11
View File
@@ -33,6 +33,15 @@
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>${sqlite.version}</version>
</dependency>
<!-- <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>${hsqldb.version}</version> </dependency> <dependency> <groupId>org.apache.derby</groupId>
<artifactId>derby</artifactId> <version>${derby.version}</version> </dependency> <dependency> <groupId>org.xerial</groupId> <artifactId>sqlite-jdbc</artifactId> <version>${sqlite.version}</version>
</dependency> -->
@@ -43,6 +52,8 @@
</build>
<properties>
<start-class>com.baeldung.SpringDataRestApplication</start-class>
<sqlite.version>3.25.2</sqlite.version>
<spring-boot.version>2.1.0.RELEASE</spring-boot.version>
</properties>