[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6749) FooBarTest.testLimit() fails on MS SQL Server due to dialect interpretation of max row
John Verhaeg (JIRA)
noreply at atlassian.com
Wed Oct 19 16:45:19 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Verhaeg resolved HHH-6749.
-------------------------------
Resolution: Fixed
Modified test to use dialect.useMaxForLimit() to determine the expected row count
> FooBarTest.testLimit() fails on MS SQL Server due to dialect interpretation of max row
> --------------------------------------------------------------------------------------
>
> Key: HHH-6749
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6749
> 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
>
>
> The underlying method to get the max row already documents the possible differences in interpretation by dialects and a method (useMaxForLimit) already exists on the dialect class to determine which interpretation to use; the test just needs to make use of this dialect method.
--
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