diff --git a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendConnection.java b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendConnection.java index 048d2db..4ed5076 100644 --- a/databend-jdbc/src/main/java/com/databend/jdbc/DatabendConnection.java +++ b/databend-jdbc/src/main/java/com/databend/jdbc/DatabendConnection.java @@ -149,7 +149,7 @@ public PreparedStatement prepareStatement(String s) @Override public CallableStatement prepareCall(String s) throws SQLException { - return null; + throw new SQLFeatureNotSupportedException("prepareCall"); } @Override @@ -349,7 +349,6 @@ public PreparedStatement prepareStatement(String sql, int resultSetType, int res @Override public CallableStatement prepareCall(String sql, int resultSetType, int resultSetConcurrency, int resultSetHoldability) throws SQLException { -// checkHoldability(resultSetHoldability); return prepareCall(sql, resultSetType, resultSetConcurrency); }