You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "N Campbell (JIRA)" <ji...@apache.org> on 2016/02/17 19:38:18 UTC
[jira] [Created] (DRILL-4393) JDBC driver does not always return
SQLState and Message on exceptions
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)