Use clickhouse database within Spring JDBC
Started from 2.3.0 Spring Data JDBC has a Dialect interface for the fully supported databases it ships with a matching implementation. This implementation adds to support Clickhose database
This starter registers Clickhouse Dialect to Spring JDBC, and doesn't provide any dependencies.
Just add to classpath and Clickhouse Dialect will be automatically register by ClickhouseDialectResolver
First you need to add a maven repository to build.gradle
repositories {
mavenCentral()
}
And now declare dependency as usual
implementation 'io.github.pelenthium:clickhouse-dialect-spring-boot-starter:1.2.0'
Use declare dependency as usual
<dependency>
<groupId>io.github.pelenthium</groupId>
<artifactId>clickhouse-dialect-spring-boot-starter</artifactId>
<version>1.2.0</version>
<type>pom</type>
</dependency>
Distributed under the Apache 2 License. See LICENSE for more information.