Use clickhouse database within Spring JDBC
Started frm 2.3.0 Spring Data JDBC now has a Dialect interface for the fully supported databases it ships with a matching implementation. This is implementation to support Clickhose database
This starter register Clickhouse Dialect to Spring JDBC, and don't provide any dependencies
Just add to classpath and Clickhouse Dialect will be automatically register by ClickhouseDialectResolver
First of all you need to add a new maven repository to build.gradle
repositories {
maven {
url "https://dl.bintray.com/pelenthium/maven"
}
}
And now declare dependency as usual
implementation 'com.github.pelenthium.spring:clickhouse-dialect-spring-boot-starter:1.0.1'
First of all you need to add a new maven repository to ~/.m2/settings.xml
<?xml version='1.0' encoding='UTF-8'?>
<settings xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd' xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>bintray-pelenthium-maven</id>
<name>bintray</name>
<url>https://dl.bintray.com/pelenthium/maven</url>
</repository>
</repositories>
<id>bintray</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>bintray</activeProfile>
</activeProfiles>
</settings>
And now declare dependency as usual
<dependency>
<groupId>com.github.pelenthium.spring</groupId>
<artifactId>clickhouse-dialect-spring-boot-starter</artifactId>
<version>1.0.1</version>
<type>pom</type>
</dependency>
Distributed under the MIT License. See LICENSE
for more information.