[
https://issues.apache.org/jira/browse/DERBY-5546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576301#comment-13576301
]
Dag H. Wanvik edited comment on DERBY-5546 at 2/12/13 2:20 AM:
---------------------------------------------------------------
I'm satisfied that using SQLDataException is the right thing to do here. Unless
I hear dissenting opinion, I will commit this fix shortly.
was (Author: dagw):
I'm satisfied that using DataTruncation is the right thing to do here.
Unless I hear dissenting opinion, I will commit this fix shortly.
> ResultSet#updateBigDecimal on a REAL column does not do underflow checking
> --------------------------------------------------------------------------
>
> Key: DERBY-5546
> URL: https://issues.apache.org/jira/browse/DERBY-5546
> Project: Derby
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 10.8.2.2
> Reporter: Dag H. Wanvik
> Assignee: Dag H. Wanvik
> Priority: Minor
> Labels: derby_triage10_9
> Attachments: derby-5546-2.diff, derby-5546-2.stat, derby-5546.diff,
> derby-5546.stat, MissingUnderflowCheck.java
>
>
> In contrast, ResultSet#updateBigDecimal on a FLOAT or DOUBLE column gives the
> expected error on underflow. Cf. the attached repro program
> MissingUnderflowCheck.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira