[
https://issues.apache.org/jira/browse/IGNITE-9615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16623718#comment-16623718
]
ASF GitHub Bot commented on IGNITE-9615:
----------------------------------------
GitHub user dmekhanikov opened a pull request:
https://github.com/apache/ignite/pull/4805
IGNITE-9615 Fix exceptions thrown from methods of jdbc2.IgniteConnection
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gridgain/apache-ignite ignite-9615
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/4805.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 #4805
----
commit 3c8856f9d7d892e27d0785133aafa452c1288759
Author: Denis Mekhanikov <dmekhanikov@...>
Date: 2018-09-21T14:35:32Z
IGNITE-9615 Fix exceptions thrown from methods of jdbc2.IgniteConnection.
----
> SQL: Client driver throws "Updates are not supported" exception
> ---------------------------------------------------------------
>
> Key: IGNITE-9615
> URL: https://issues.apache.org/jira/browse/IGNITE-9615
> Project: Ignite
> Issue Type: Bug
> Components: sql
> Affects Versions: 2.6
> Reporter: Denis Mekhanikov
> Assignee: Denis Mekhanikov
> Priority: Major
>
> When calling certain methods on Connection object, retrieved from a client
> JDBC driver, {{SQLFeatureNotSupportedException}} with message "Updates are
> not supported" is thrown.
> Affected methods:
> * {{JdbcConnection#setReadOnly(boolean)}}
> * {{JdbcConnection#prepareStatement(java.lang.String, int)}}
> * {{JdbcConnection#prepareStatement(java.lang.String, int[])}}
> * {{JdbcConnection#prepareStatement(java.lang.String, java.lang.String[])}}
> {{SetReadOnly}} method shouldn't throw this exception, and exceptions thrown
> from {{prepareStatement}} methods should have a proper description.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)