We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e692396 commit 2dd1787Copy full SHA for 2dd1787
jdbc-v2/src/test/java/com/clickhouse/jdbc/DataTypeTests.java
@@ -33,7 +33,12 @@ public void setUp() throws SQLException {
33
}
34
35
private Connection getConnection() throws SQLException {
36
- return DriverManager.getConnection(getEndpointString(isCloud()));
+ try {
37
+ return DriverManager.getConnection(getEndpointString(isCloud()));
38
+ } catch (SQLException e) {
39
+ Driver.load();
40
41
+ }
42
43
44
private int insertData(String sql) throws SQLException {
0 commit comments