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

ODBC 3.0: Improve SqlBatchException processing

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • odbc

    Description

      After IGNITE-17059, we serialize the full error code for the SqlBatchException (error group + error code).
      This may break the code that handles this exception on the odbc side.

      throw odbc_error(error_code_to_sql_state(error::code(error_code.value())), error_message);
      

      It is necessary to fix exception handling on the odbc side and add test for exception handling.

      Please keep in sync with IGNITE-22569 (Ensure standardized error serialization in ClientSqlExecuteBatchRequest), perhaps the issue will be solved there, but in any case, we need to ensure we have test for handling SqlBatchException on the odbc side.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xtern Pavel Pereslegin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: