[ 
https://issues.apache.org/jira/browse/IGNITE-15204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17391474#comment-17391474
 ] 

Stanislav Lukyanov commented on IGNITE-15204:
---------------------------------------------

How about adding the SQL error codes to the message on the server side? This 
would be helpful not just to thin clients, and thin clients already get the 
full message text. The application code will be able to parse the message to 
get the error code.

> SQL exception to be handled by thin clients [CPP]
> -------------------------------------------------
>
>                 Key: IGNITE-15204
>                 URL: https://issues.apache.org/jira/browse/IGNITE-15204
>             Project: Ignite
>          Issue Type: Improvement
>          Components: thin client
>            Reporter: Alexandr Shapkin
>            Priority: Major
>
> It would be nice to have meaningful error descriptions (like using ODBC) 
> instead of general ones.
> For sample, working with SQL from a thin client it's impossible to get these 
> errors:
>  Uniq_Constraint ,Connection error,Timeout,Bind Param error,Cursor error, 
> Prepare error,Execute error,TABLE_NOTFOUND,CACHE_NOTFOUND
>  
> Looks like the easiest way would be to wait for Ignite 3.0 release with the 
> new thin client protocol, but I think we can make some extension to the 2.x 
> protocol as well.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to