[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-6809) FooBarTest.testFindByCriteria() fails on SQL Server due to mixed expectations for Criteria.setMaxResults(0)

Steve Ebersole (JIRA) noreply at atlassian.com
Fri Jan 6 00:00:16 EST 2012


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

Steve Ebersole commented on HHH-6809:
-------------------------------------

John, where are you seeing this fail?

> 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
>             Fix For: 4.0.1
>
>
> 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