Pavel Pereslegin created IGNITE-22572:
-----------------------------------------

             Summary: ODBC 3.0: Improve SqlBatchException processing
                 Key: IGNITE-22572
                 URL: https://issues.apache.org/jira/browse/IGNITE-22572
             Project: Ignite
          Issue Type: Improvement
          Components: odbc
            Reporter: Pavel Pereslegin


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.

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

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.




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to