commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DBUTILS-117) Error in control the use of ParameterMetaData
Date Fri, 12 Dec 2014 07:30:13 GMT

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

Benedikt Ritter commented on DBUTILS-117:
-----------------------------------------

bq. using the Crate.io jdbc driver

This looks more like a missing feature in the PreparedStatement implementation of crate.io
(https://github.com/crate/crate-jdbc/blob/master/src/main/java/io/crate/client/jdbc/CratePreparedStatement.java#L439).
I propose, that you report a feature request there. The JavaDoc of PreparedStatement doesn't
state that it is legal for a PreparedStatement to return null from getParameterMetaData().

> 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)

Mime
View raw message