[
https://issues.apache.org/jira/browse/DERBY-6840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14993052#comment-14993052
]
Rick Hillegas commented on DERBY-6840:
--------------------------------------
That is the explanation which the JDBC spec gives for the odd asymmetry. As you
observe, if you want to get a Short value, you can call the
ResultSet.getObject(int columnIndex, Class<T> type) overload. Thanks.
> DatabaseMetaData.getBestRowIdentifier/DECIMAL_DIGITS' type is Integer
> ---------------------------------------------------------------------
>
> Key: DERBY-6840
> URL: https://issues.apache.org/jira/browse/DERBY-6840
> Project: Derby
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 10.12.1.1
> Reporter: Jin Kwon
> Priority: Trivial
>
> The value of {{DECIMAL_DIGITS}} of {{DatabaseMetaData.getBestRowIdentifier}}
> is an {{java.lang.Integer}} not {{java.lang.Short}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)