[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6750) ASTParserLoadingTest.testAggregation() fails on MS SQL Server performing avg, presumably due to forcing result to match column type

John Verhaeg (JIRA) noreply at atlassian.com
Wed Oct 19 16:51:19 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6750?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

John Verhaeg resolved HHH-6750.
-------------------------------

    Resolution: Fixed

Modified test to expect different value for the SQL Server 2008 dialect.  May have to expand the expection for other dialects.

> ASTParserLoadingTest.testAggregation() fails on MS SQL Server performing avg, presumably due to forcing result to match column type
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-6750
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6750
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: testsuite
>    Affects Versions: 4.0.0.CR4
>         Environment: MS SQL Server
>            Reporter: John Verhaeg
>            Assignee: John Verhaeg
>             Fix For: 4.0.0.next
>
>
> SQL Server returns an avg of 1.0 for 2 rows with integer column values of 1 and 2, whereas the test assumes the DB returns 1.5.

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