No, they are not re-used. SQLSTATE is JDBC/ODBC-specific thing (and both driver types have different codes).
On Thu, Oct 19, 2017 at 7:39 PM, Denis Magda <dma...@apache.org> wrote: > Igor, > > Do you have them documented somewhere? Couldn’t find in the existing docs. > > Vladimir, Alex P., > > Do we reuse the error codes developed for JDBC on the native APIs side > (Java, .NET, C++)? On the JDBC page we say that the codes are ANSI SQL > compliant and my guess that they have to be the same across all SQL APIs. > > — > Denis > > > On Oct 19, 2017, at 3:16 AM, Igor Sapego <isap...@apache.org> wrote: > > > > Error codes are different for ODBC and JDBC. > > > > Best Regards, > > Igor > > > > On Thu, Oct 19, 2017 at 3:23 AM, Denis Magda <dma...@apache.org> wrote: > > > >> Alex P, Vladimir, > >> > >> Please confirm that the error codes documented for JDBC [1] driver are > >> shared by all SQL APIs we have. If it’s so I would create Error Codes > page > >> under SQL Reference section and will provide error handling code > snippets > >> for JDBC, ODBC and the native APIs. > >> > >> [1] https://apacheignite-sql.readme.io/v2.1/docs/error-codes > >> > >> — > >> Denis > >