Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-6326

JDBC thin: statement type mismatch error is handled incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.2
    • 2.3
    • None
    • None

    Description

      e.g.: if the update query is executed with executeQuery method the SQLException will be thrown AFTER the data has been updates.

      JdbcSqlFieldsQuery must be used for executeQuery and executeUpdate methods.

      Expected exceptions:

      • SQLException: executeQuery method can not be used for update.
      • SQLException: executeUpdate method can not be used for select.

      Attachments

        Issue Links

          Activity

            People

              tledkov-gridgain Taras Ledkov
              tledkov-gridgain Taras Ledkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: