Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Example of ClickHouse JDBC Client Usage

This example application uses JDBC to interact with ClickHouse Server.

Usage

Apache Maven or IDE with Maven support is required to run this example.

To compile:

mvn clean compile

To run simplified example:

 mvn exec:java -Dexec.mainClass="com.clickhouse.examples.jdbc.Basic"

Addition options can be passed to the application:

  • -DchUrl - ClickHouse JDBC URL. Default is jdbc:clickhouse://localhost:8123/default
  • -Dclickhouse.jdbc.v2=true - Use JDBC V2 implementation