Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-585

Avatica JDBC methods should throw SQLFeatureNotSupportedException

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0-incubating
    • Component/s: None
    • Labels:
      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

      { throw new UnsupportedOperationException(); }

      The expected exception for this is SQLFeatureNotSupportedException (a subclass of SQLException).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                jiunnjye Ng Jiunn Jye
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: