Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
The unsupported JDBC method are throwing UnsupportedOperationException.
This cause calcite jdbc client program fail to catch the exception and goes to unhandled exception routine.
For example
AvaticaStatement.java
public boolean getMoreResults() throws SQLException
The expected exception for this is SQLFeatureNotSupportedException (a subclass of SQLException).
Attachments
Attachments
Issue Links
- relates to
-
DRILL-2769 many(?) JDBC methods throw non-SQLException exceptions (e.g., UnsupportedOperationException, RuntimeException)
- Resolved
-
CALCITE-1902 ResultSet.previous() throws UnsupportedOperationException, but should throw SQLFeatureNotSupportedException
- Closed