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

Reading from ResultSet before calling next() should throw SQLException not NoSuchElementException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • avatica-1.11.0
    • avatica

    Description

      Reading from ResultSet before calling next() should throw SQLException not NoSuchElementException.

      Each of the Cursor.Accessor.getXxx methods should convert runtime exceptions to SQLException.

      JdbcTest.testExtract currently demonstrates this problem; it passes if there is a NoSuchElementException, but should look for a SQLException.

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              julianhyde Julian Hyde
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: