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

Avatica JDBC methods should throw SQLFeatureNotSupportedException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.3.0-incubating
    • 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

      { throw new UnsupportedOperationException(); }

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: