[hibernate-issues] [Hibernate-JIRA] Created: (HHH-4908) Multiple failures reported during ReadOnlyProxyTest with Ingres

Ray Fan (JIRA) noreply at atlassian.com
Thu Feb 11 14:24:33 EST 2010


Multiple failures reported during ReadOnlyProxyTest with Ingres
---------------------------------------------------------------

                 Key: HHH-4908
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4908
             Project: Hibernate Core
          Issue Type: Patch
          Components: testsuite
    Affects Versions: 3.5.0-Beta-4
         Environment: Hibernate 3.5.0-Beta-4, Ingres 9.3.1
            Reporter: Ray Fan
            Priority: Minor
         Attachments: DataPoint.hbm.xml.diff

Failures reported from org.hibernate.test.readonly.ReadOnlyProxyTest in the following tests:
{noformat}
 testReadOnlyViaSessionDoesNotInit
 testReadOnlyViaLazyInitializerDoesNotInit
 testReadOnlyViaSessionNoChangeAfterInit
 testReadOnlyViaLazyInitializerNoChangeAfterInit
 testReadOnlyViaSessionBeforeInit
 testModifiableViaSessionBeforeInit
 testReadOnlyViaSessionBeforeInitByModifiableQuery
 testReadOnlyViaSessionBeforeInitByReadOnlyQuery
 testModifiableViaSessionBeforeInitByModifiableQuery
 testModifiableViaSessionBeforeInitByReadOnlyQuery
 testReadOnlyViaLazyInitializerBeforeInit
 testModifiableViaLazyInitializerBeforeInit
 testReadOnlyViaLazyInitializerAfterInit
 testModifiableViaLazyInitializerAfterInit
 testReadOnlyChangedEvictedUpdate
 testReadOnlyToModifiableInitWhenModifiedIsUpdated
 testReadOnlyInitToModifiableModifiedIsUpdated
 testReadOnlyModifiedUpdate
 testReadOnlyProxyMergeDetachedProxyWithChange
 testReadOnlyProxyInitMergeDetachedProxyWithChange
 testReadOnlyProxyMergeDetachedEntityWithChange
 testReadOnlyProxyInitMergeDetachedEntityWithChange
 testReadOnlyEntityMergeDetachedProxyWithChange
 testSetReadOnlyInTwoTransactionsSameSession
 testSetReadOnlyBetweenTwoTransactionsSameSession
 testSetModifiableBetweenTwoTransactionsSameSession
{noformat}
All fail because of an assertion expected:<0.1000000000000000055> but was:<0.10000000000000000550> when run with Ingres 9.3.

The DataPoint.hbm.xml description for X and Y specify precision 25 and scale 20 creating the equivalent decimal(25,20) in the Ingres table and returning a zero padded decimal value.

Adjusted the scale in the mapping to match expected.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list