ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Taras Ledkov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-6326) JDBC thin: statement type mismatch error is handled incorrect
Date Mon, 11 Sep 2017 07:10:00 GMT

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

Taras Ledkov updated IGNITE-6326:
---------------------------------
    Description: 
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.

  was:
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.


> 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)

Mime
View raw message