Skip to content

Commit a2fa679

Browse files
committed
Made newImplementation as default
1 parent 38fe7fb commit a2fa679

File tree

1 file changed

+3
-4
lines changed
  • client-v2/src/main/java/com/clickhouse/client/api

1 file changed

+3
-4
lines changed

client-v2/src/main/java/com/clickhouse/client/api/Client.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public static class Builder {
206206

207207
// Read-only configuration
208208
private Map<String, String> configuration;
209-
private boolean useNewImplementation = false;
209+
private boolean useNewImplementation = true;
210210

211211
private ExecutorService sharedOperationExecutor = null;
212212

@@ -581,8 +581,8 @@ public Builder setExecutionTimeout(long timeout, ChronoUnit timeUnit) {
581581
}
582582

583583
/**
584-
* Switches to new implementation of the client.
585-
* @deprecated - do not use - it is only for development
584+
* Switches to new implementation of the client. Default is true.
585+
* @deprecated
586586
*/
587587
public Builder useNewImplementation(boolean useNewImplementation) {
588588
this.useNewImplementation = useNewImplementation;
@@ -599,7 +599,6 @@ public Builder setHttpCookiesEnabled(boolean enabled) {
599599
/**
600600
* Defines path to the trust store file. It cannot be combined with
601601
* certificates. Either trust store or certificates should be used.
602-
*
603602
* {@see setSSLTrustStorePassword} and {@see setSSLTrustStoreType}
604603
* @param path
605604
* @return

0 commit comments

Comments
 (0)