Skip to content

Commit 231d173

Browse files
committed
fixed holdability check for DataGrip. Bumped version for http client
1 parent 4ee121e commit 231d173

File tree

3 files changed

+1
-6
lines changed

3 files changed

+1
-6
lines changed

client-v2/pom.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
<url>https://github.com/ClickHouse/clickhouse-java/tree/main/client-v2</url>
1818

1919
<properties>
20-
<apache.httpclient.version>5.3.1</apache.httpclient.version>
2120
<shade.base>${project.groupId}.shaded</shade.base>
2221
</properties>
2322

jdbc-v2/src/main/java/com/clickhouse/jdbc/ConnectionImpl.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,6 @@ private void checkResultSetFlags(int resultSetType, int resultSetConcurrency, in
369369
throw new SQLFeatureNotSupportedException("Cannot create statement with result set concurrency other then ResultSet.CONCUR_READ_ONLY",
370370
ExceptionUtils.SQL_STATE_FEATURE_NOT_SUPPORTED);
371371
}
372-
if (resultSetHoldability != ResultSet.CLOSE_CURSORS_AT_COMMIT) {
373-
throw new SQLFeatureNotSupportedException("Cannot create statement with result set holdability other then ResultSet.CLOSE_CURSORS_AT_COMMIT",
374-
ExceptionUtils.SQL_STATE_FEATURE_NOT_SUPPORTED);
375-
}
376372
}
377373
}
378374

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
7676

7777
<annotations-api.version>6.0.53</annotations-api.version>
78-
<apache.httpclient.version>5.3.1</apache.httpclient.version>
78+
<apache.httpclient.version>5.4.4</apache.httpclient.version>
7979
<arrow.version>12.0.1</arrow.version>
8080
<asm.version>9.7</asm.version>
8181
<avro.version>1.11.4</avro.version>

0 commit comments

Comments
 (0)