Configuring ClickHouse Connection Properties
Set connection properties in the examples of creating connections in the ClickhouseJDBCHaDemo, Demo, NativeJDBCHaDemo, and Util files. The following code sets the socket timeout interval to 60 seconds:
ClickHouseProperties clickHouseProperties = new ClickHouseProperties(); clickHouseProperties.setSocketTimeout(60000);
clickHouseProperties.setSsl(true);
clickHouseProperties.setSslMode("none");
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.