[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-6751) Test failure due to inconsistent scale returned for BigDecimal properties
Gail Badner (JIRA)
noreply at atlassian.com
Thu Oct 20 16:04:19 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gail Badner updated HHH-6751:
-----------------------------
Component/s: (was: core)
testsuite
> Test failure due to inconsistent scale returned for BigDecimal properties
> -------------------------------------------------------------------------
>
> Key: HHH-6751
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6751
> Project: Hibernate Core
> Issue Type: Bug
> Components: testsuite
> Affects Versions: 4.0.0.CR4
> Reporter: Gail Badner
> Assignee: Gail Badner
> Fix For: 4.0.0.next
>
>
> Oracle returns a value with scale=0 for BigDecimal propertiee, which causes a failure in:
> IntermediateMappedSuperclassTest.testGetOnIntermediateMappedSuperclass()
> This is because BigDecimal values that have different scale are not equal.
> The fix will compare BigDecimal.doubleValue to a precision of 0.001.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list