Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-436

ResultSet first() implementation

    XMLWordPrintable

Details

    Description

      Hello,

      we have upgraded our JDBC driver to mariadb driver from mysql driver and it has caused an unforeseen issue.

      https://github.com/MariaDB/mariadb-connector-j/blob/master/src/main/java/org/mariadb/jdbc/internal/queryresults/resultset/MariaSelectResultSet.java

      The SQLException is thrown but we think the SQLException should NOT be thrown if the rowPointer is already at 0 - because in this case, there is no backward movement.

      This has not been an issue with our mysql jdbc driver.

      I appreciate that the JDBC interface docs may not be clear on this, but i think it makes sense not to throw an exception if rowPointer == 0

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            zsolt.janos Zsolt Janos
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.