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:
Strong Liu 2010-01-08 20:24:18 +00:00
parent ee503cfbc6
commit 4276ad99f0
1 changed files with 1 additions and 1 deletions

View File

@ -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() );