[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-6809) FooBarTest.testFindByCriteria() fails on SQL Server due to mixed expectations for Criteria.setMaxResults(0)
John Verhaeg (JIRA)
noreply at atlassian.com
Mon Jan 9 16:37:09 EST 2012
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Verhaeg resolved HHH-6809.
-------------------------------
Resolution: Fixed
Fix Version/s: 4.0.0.CR6
Changed Loader.hasMaxRows() to return false if maxRows is zero, and removed bad expectation from FooBarTest.testFindByCriteria()
> FooBarTest.testFindByCriteria() fails on SQL Server due to mixed expectations for Criteria.setMaxResults(0)
> -----------------------------------------------------------------------------------------------------------
>
> Key: HHH-6809
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6809
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 4.0.0.CR5
> Environment: MS SQL Server
> Reporter: John Verhaeg
> Assignee: John Verhaeg
> Fix For: 4.0.0.CR6
>
>
> Looks like some dialects treat 0 as meaning no limit and others as literally zero rows.
--
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