hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Gumashta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-5215) The optional methods in JDBC API implementations should throw a SQLFeatureNotSupportedException instead of SQLException
Date Wed, 04 Sep 2013 21:37:52 GMT
Vaibhav Gumashta created HIVE-5215:
--------------------------------------

             Summary: The optional methods in JDBC API implementations should throw a SQLFeatureNotSupportedException
instead of  SQLException
                 Key: HIVE-5215
                 URL: https://issues.apache.org/jira/browse/HIVE-5215
             Project: Hive
          Issue Type: Bug
          Components: JDBC
            Reporter: Vaibhav Gumashta
            Priority: Minor
             Fix For: 0.12.0


The optional methods in JDBC API implementations should throw a SQLFeatureNotSupportedException
instead of  SQLException. This is per JDBC standards.

>From the jdbc 4.1 specs:
"If a JDBC driver does not support or only provides partial support for an optional feature,
the corresponding DatabaseMetaData method must indicate the feature is not supported. Any
methods for a feature that is not implemented are required to throw a SQLFeatureNotSupportedException."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message