Skip to content

Commit 68cbaae

Browse files
author
Eric Harmeling
committed
CockroachDB Hibernate dialect
1 parent a61e105 commit 68cbaae

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

roach-data-jpa/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,11 @@
3535
<groupId>org.springframework.boot</groupId>
3636
<artifactId>spring-boot-starter-data-jpa</artifactId>
3737
</dependency>
38+
<dependency>
39+
<groupId>org.hibernate</groupId>
40+
<artifactId>hibernate-core</artifactId>
41+
<version>5.4.19.Final</version>
42+
</dependency>
3843
<dependency>
3944
<groupId>org.liquibase</groupId>
4045
<artifactId>liquibase-core</artifactId>

roach-data-jpa/src/main/resources/application.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ spring:
2424
connection-test-query: SELECT 1
2525

2626
jpa:
27-
open-in-view: false
27+
open-in-view: false
28+
properties:
29+
hibernate:
30+
dialect: org.hibernate.dialect.CockroachDB201Dialect

0 commit comments

Comments
 (0)