You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Alexander Kirsch (JIRA)" <ji...@apache.org> on 2015/05/28 18:24:17 UTC

[jira] [Commented] (DBUTILS-117) Error handling possible getParameterMetaData() results

    [ https://issues.apache.org/jira/browse/DBUTILS-117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14563197#comment-14563197 ] 

Alexander Kirsch commented on DBUTILS-117:
------------------------------------------

Just for your interest. We faced a lot of Problems with the Oracle 12c JDBC driver which did not occur with the Oracle 11g JDBC Driver. 

PreparedStatement.getParameterMetaData();

caused a lot of problems. Some of this problems fixed by Oracle with Patch 20692348 for Version 12.1.0.2. We still have Problems with java.sql.ParameterMetaData.getParameterCount() which do not always return the right number of parameters if the parameters are surrounded bei round parenthesis.

> Error handling possible getParameterMetaData() results
> ------------------------------------------------------
>
>                 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
>         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)