[
https://issues.apache.org/jira/browse/DBUTILS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14246061#comment-14246061
]
Benedikt Ritter commented on DBUTILS-117:
-----------------------------------------
bq. So what should the library do if it does not support the method?
I would expect the driver to throw
[SQLFeatureNotSupportedException|https://docs.oracle.com/javase/7/docs/api/java/sql/SQLFeatureNotSupportedException.html].
I'm tempted to close this as won't fix. We simply can not checked for null on
every place where an incomplete jdbc implementation my return null.
> Error in control the use of ParameterMetaData
> ---------------------------------------------
>
> Key: DBUTILS-117
> URL: https://issues.apache.org/jira/browse/DBUTILS-117
> Project: Commons DbUtils
> Issue Type: Bug
> Affects Versions: 1.5
> Reporter: Vadim Smirnov
> Priority: Minor
> Labels: easyfix, newbie
> Fix For: 1.7
>
> Attachments: DBUTILS-117-tests.patch, DBUTILS-117.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Error in fillStatement method of AbstractQueryRunner class.
> There is no try...catch statement near pmd = stmt.getParameterMetaData();
> So method fails instead of automaticallye turning pmdKnownBroken to true.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)