You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Thejas M Nair (JIRA)" <ji...@apache.org> on 2017/02/02 00:44:51 UTC

[jira] [Commented] (HIVE-15730) JDBC should use SQLFeatureNotSupportedException where appropriate instead of SQLException

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

Thejas M Nair commented on HIVE-15730:
--------------------------------------

[~vgumashta] Can you please review this patch ?


> JDBC should use SQLFeatureNotSupportedException where appropriate instead of  SQLException
> ------------------------------------------------------------------------------------------
>
>                 Key: HIVE-15730
>                 URL: https://issues.apache.org/jira/browse/HIVE-15730
>             Project: Hive
>          Issue Type: Bug
>          Components: JDBC
>            Reporter: Thejas M Nair
>            Assignee: Sankar Hariappan
>         Attachments: HIVE_15730_1.patch
>
>
> An example is HiveBaseResultSet.rowDeleted. It throws SQLException("Method not supported") instead of SQLFeatureNotSupportedException.
> For that optional method, the use of SQLFeatureNotSupportedException is more appropriate.
> See 
> http://docs.oracle.com/javase/7/docs/api/java/sql/ResultSet.html#rowDeleted()
> http://docs.oracle.com/javase/7/docs/api/java/sql/SQLFeatureNotSupportedException.html



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)