This example application uses JDBC to interact with ClickHouse Server.
Apache Maven or IDE with Maven support is required to run this example.
To compile:
mvn clean compileTo 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 isjdbc:clickhouse://localhost:8123/default-Dclickhouse.jdbc.v2=true- Use JDBC V2 implementation