You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/04/17 21:41:58 UTC

[jira] [Resolved] (CALCITE-585) Avatica JDBC methods should throw SQLFeatureNotSupportedException

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

Julian Hyde resolved CALCITE-585.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.3.0-incubating

Fixed in http://git-wip-us.apache.org/repos/asf/incubator-calcite/commit/b6283dbb.

> Avatica JDBC methods should throw SQLFeatureNotSupportedException
> -----------------------------------------------------------------
>
>                 Key: CALCITE-585
>                 URL: https://issues.apache.org/jira/browse/CALCITE-585
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Ng Jiunn Jye
>            Assignee: Julian Hyde
>            Priority: Minor
>             Fix For: 1.3.0-incubating
>
>         Attachments: CALCITE-585-2015.04.14.patch
>
>
> The unsupported JDBC method are throwing UnsupportedOperationException.
> This cause calcite jdbc client program fail to catch the exception and goes to unhandled exception routine.  
> For example 
> AvaticaStatement.java
> public boolean getMoreResults() throws SQLException {
>     throw new UnsupportedOperationException();
>   }
> The expected exception for this is SQLFeatureNotSupportedException (a subclass of SQLException). 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)