Re: SQL error codes

2017-10-19 Thread Denis Magda
Yes, we should document as much as we can here. Created a ticket in advance so that this is solved before 2.3 release: https://issues.apache.org/jira/browse/IGNITE-6687 — Denis > On Oct 19, 2017, at 3:51 PM, Alexander Paschenko > wrote: > >

[jira] [Created] (IGNITE-6687) SQL Error Codes Documentation

2017-10-19 Thread Denis Magda (JIRA)
Denis Magda created IGNITE-6687: --- Summary: SQL Error Codes Documentation Key: IGNITE-6687 URL: https://issues.apache.org/jira/browse/IGNITE-6687 Project: Ignite Issue Type: Task Security

Re: SQL error codes

2017-10-19 Thread Dmitriy Setrakyan
On Thu, Oct 19, 2017 at 2:48 PM, Alexander Paschenko < apasche...@gridgain.com> wrote: > Dmitriy, > > There are Ignite specific codes, they are returned when queries are run > via Ignite API. There are no codes explicitly shared by JDBC and ODBC, > although some of them happen to be the same. > T

Re: SQL error codes

2017-10-19 Thread Dmitriy Setrakyan
On Thu, Oct 19, 2017 at 9:48 AM, Vladimir Ozerov wrote: > No, they are not re-used. SQLSTATE is JDBC/ODBC-specific thing (and both > driver types have different codes). > Vladimir, are there any error codes that come from the Ignite engine that are shared between JDBC and ODBC drivers? What if t

Re: SQL error codes

2017-10-19 Thread Vladimir Ozerov
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 wrote: > Igor, > > Do you have them documented somewhere? Couldn’t find in the existing docs. > > Vladimir, Alex P., > > Do we reuse the error

Re: SQL error codes

2017-10-19 Thread Denis Magda
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 sam

Re: SQL error codes

2017-10-19 Thread Igor Sapego
Error codes are different for ODBC and JDBC. Best Regards, Igor On Thu, Oct 19, 2017 at 3:23 AM, Denis Magda 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 error codes

2017-10-18 Thread Denis Magda
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://apacheig