[ 
https://issues.apache.org/jira/browse/IGNITE-15247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrey Mashenkov updated IGNITE-15247:
--------------------------------------
    Description: 
*Motivation:*
JDBC driver must throws exceptions of java.sql.SQLException kind with a 
SQLState code (XOPEN type or the SQL:2003 type).
Standard says SQLState is implementation-defined thing and define the SQLState 
format, some predefined categories and ability to specify vendor-code.
Vendor codes must be well-documented.

Let's map Ignite exceptions/error codes to proper SQLException with SQLState.
 


  was:
*Motivation:*
JDBC driver must throws exceptions of type java.sql.SQLException with mandatory 
SQLState codes (vendor code and standard, if exists).
These codes must be documented.

Let's 
* Create list of supported SQLState codes.
* Map existed Ignite exceptions/error codes to proper SQLState
 



> JDBC driver for 3.0: Error handling.
> ------------------------------------
>
>                 Key: IGNITE-15247
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15247
>             Project: Ignite
>          Issue Type: New Feature
>          Components: jdbc
>            Reporter: Andrey Mashenkov
>            Priority: Major
>              Labels: ignite-3
>
> *Motivation:*
> JDBC driver must throws exceptions of java.sql.SQLException kind with a 
> SQLState code (XOPEN type or the SQL:2003 type).
> Standard says SQLState is implementation-defined thing and define the 
> SQLState format, some predefined categories and ability to specify 
> vendor-code.
> Vendor codes must be well-documented.
> Let's map Ignite exceptions/error codes to proper SQLException with SQLState.
>  



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

Reply via email to