drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "N Campbell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-4393) JDBC driver does not always return SQLState and Message on exceptions
Date Wed, 17 Feb 2016 18:38:18 GMT
N Campbell created DRILL-4393:
---------------------------------

             Summary: JDBC driver does not always return SQLState and Message on exceptions
                 Key: DRILL-4393
                 URL: https://issues.apache.org/jira/browse/DRILL-4393
             Project: Apache Drill
          Issue Type: Bug
          Components: Client - JDBC
    Affects Versions: 1.5.0
            Reporter: N Campbell


Various interface methods appear to not be implemented. 

Statement.setEscapeProcessing 
Statement.getMaxFieldSize
PreparedStatement.clearParameters
PreparedStatement.isPoolable
Statement.setPoolable(true)
Connection.isValid()
Connection.getTypeMap

Should an application attempt to look at the exceptions returned, often null is returned.

SQLException.getSQLState returned a null
SQLException.getMessage returned a null
SQLException.sqlState(null) SQLException.Message(null)

Would be ideal if the driver implemented the newer JDBC 4.x exceptions to denote that something
is not implemented as well.




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

Mime
View raw message