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

ASF GitHub Bot commented on IGNITE-6326:
----------------------------------------

GitHub user tledkov-gridgain opened a pull request:

    https://github.com/apache/ignite/pull/2631

    IGNITE-6326  JDBC thin: statement type mismatch error is handled incorrect

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/gridgain/apache-ignite ignite-6326

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/ignite/pull/2631.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2631
    
----
commit 643e6a90f2a778a0071dba6d2c2602de32ee9fc1
Author: tledkov-gridgain <[email protected]>
Date:   2017-09-07T12:38:48Z

    IGNITE-6291: add compatibility handshake

commit 2711400412f369ff65ef6169d206bf28e1908ef1
Author: tledkov-gridgain <[email protected]>
Date:   2017-09-11T06:57:41Z

    Merge branch '_master' into ignite-6291

commit bbb35edd2aa2682bc0a5cf39035e4f6c3617da9f
Author: tledkov-gridgain <[email protected]>
Date:   2017-09-11T07:34:12Z

    IGNITE-6291: cosmetic

commit 3eaeafb8af44a6a1b00a19636427247c01acfd06
Author: tledkov-gridgain <[email protected]>
Date:   2017-09-11T08:44:54Z

    IGNITE-6326 JDBC thin: statement type mismatch error is handled incorrect

commit e9fda5c73a66ebc4a24addf968707b9f0322913d
Author: tledkov-gridgain <[email protected]>
Date:   2017-09-11T09:11:19Z

    IGNITE-6326: remove unused

----


> JDBC thin: statement type mismatch error is handled incorrect
> -------------------------------------------------------------
>
>                 Key: IGNITE-6326
>                 URL: https://issues.apache.org/jira/browse/IGNITE-6326
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.2
>            Reporter: Taras Ledkov
>            Assignee: Taras Ledkov
>             Fix For: 2.3
>
>
> e.g.: if the update query is executed with {{executeQuery}} method the 
> {{SQLException}} will be  thrown AFTER the data has been updates.
> {{JdbcSqlFieldsQuery}} must be used for {{executeQuery}} and 
> {{executeUpdate}} methods.
> Expected exceptions:
> - {{SQLException}}: executeQuery method can not be used for update.
> - {{SQLException}}: executeUpdate method can not be used for select.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to