You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2014/12/03 08:10:12 UTC

[jira] [Created] (CALCITE-508) Reading from ResultSet before calling next() should throw SQLException not NoSuchElementException

Julian Hyde created CALCITE-508:
-----------------------------------

             Summary: Reading from ResultSet before calling next() should throw SQLException not NoSuchElementException
                 Key: CALCITE-508
                 URL: https://issues.apache.org/jira/browse/CALCITE-508
             Project: Calcite
          Issue Type: Bug
            Reporter: Julian Hyde
            Assignee: Julian Hyde


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)