[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5200) Prepare to use H2 as the default testing datbase

Steve Ebersole (JIRA) noreply at atlassian.com
Mon May 10 17:49:24 EDT 2010


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

Steve Ebersole commented on HHH-5200:
-------------------------------------

At this point I am down to 4 problems:
{noformat}
Failed tests: 
  testFailOnNoAddEntityOrScalar(org.hibernate.test.sql.hand.query.NativeSQLQueriesTest)
  testCastInSelect(org.hibernate.test.hql.ASTParserLoadingTest)

Tests in error: 
  testCustomColumnReadAndWrite(org.hibernate.test.compositeelement.CompositeElementTest)
  testMappedAliasStrategy(org.hibernate.test.sql.hand.query.NativeSQLQueriesTest)
{noformat}

* NativeSQLQueriesTest#testFailOnNoAddEntityOrScalar should really probably be a FailureExpected.  It fails for the wrong reasons on other deialects.  I actually have no idea why what is happening on H2 happens.  Basically H2 is excepting the SQL query `select {org.*} from organization org` as valid.  The problem with making it FailureExpected is that it "passes" on other dialects (see the note).
* NativeSQLQueriesTest#testMappedAliasStrategy - another one with something strange going on.  It passes if I run the test by itself.  But fails if you run the whole class or the whole test suite.
* ASTParserLoadingTest#testCastInSelect - is an issue with precision of floating point values on comparison
* CompositeElementTest#testCustomColumnReadAndWrite - same issue as ASTParserLoadingTest#testCastInSelect


> Prepare to use H2 as the default testing datbase
> ------------------------------------------------
>
>                 Key: HHH-5200
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5200
>             Project: Hibernate Core
>          Issue Type: Task
>          Components: core, testsuite
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>             Fix For: 3.6
>
>          Time Spent: 3h 53m
>  Remaining Estimate: 0h
>
> Evaluate the current couple of errors against H2 to determine cause(s).

-- 
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