[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-6809?page=c...
]
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