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

Ray Fan (JIRA) noreply at atlassian.com
Thu Feb 18 04:35:50 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4908?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35624#action_35624 ] 

Ray Fan commented on HHH-4908:
------------------------------

Hi Strong Liu,

I have created an instance of the Ingres DB server that should be accessible from your qa lab.
Using the attached driver and test class you should be able to test the connectivity.
{noformat}
java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)

java -cp .:iijdbc.jar JdbcInfo jdbc:ingres://80.241.73.38:I27/hibernate\;uid=userid\;pwd=password
Ingres Corporation - JDBC Driver [3.8.1]: (JDBC 3.0)
INGRES [9.3]: II 9.3.1 (a64.lnx/105)NPTL
{noformat}
Please send me an email, ray dot fan at ingres dot com and I will provide the credentials.

> 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
>            Assignee: Strong Liu
>            Priority: Minor
>         Attachments: DataPoint.hbm.xml.diff, iijdbc.jar, JdbcInfo.class
>
>
> 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