HHH-4764 org.hibernate.test.pagination.PaginationTest.testLimitOffset() fails on oracle and db2
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18464 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
ee503cfbc6
commit
4276ad99f0
|
@ -126,7 +126,7 @@ public class PaginationTest extends FunctionalTestCase {
|
|||
|
||||
result = generateBaseCriteria( session )
|
||||
.setFirstResult( 99 )
|
||||
.setMaxResults( Integer.MAX_VALUE )
|
||||
.setMaxResults( Integer.MAX_VALUE - 200 )
|
||||
.list();
|
||||
assertEquals( 1, result.size() );
|
||||
assertEquals( 99, ( ( DataPoint ) result.get( 0 ) ).getSequence() );
|
||||
|
|
Loading…
Reference in New Issue