Thejas M Nair created HIVE-15730:
------------------------------------

             Summary: 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


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.4#6332)

Reply via email to