diff --git a/hibernate-core/src/test/java/org/hibernate/orm/test/pagination/OraclePaginationWithLocksTest.java b/hibernate-core/src/test/java/org/hibernate/orm/test/pagination/OraclePaginationWithLocksTest.java index c87b48e505..c7e87fd5d7 100644 --- a/hibernate-core/src/test/java/org/hibernate/orm/test/pagination/OraclePaginationWithLocksTest.java +++ b/hibernate-core/src/test/java/org/hibernate/orm/test/pagination/OraclePaginationWithLocksTest.java @@ -142,7 +142,7 @@ public class OraclePaginationWithLocksTest { .setMaxResults( 10 ) .getResultList(); assertEquals( 10, people.size() ); - assertTrue( mostRecentStatementInspector.sqlContains( "fetch" ) ); + assertTrue( mostRecentStatementInspector.sqlContains( "rownum" ) ); } ); @@ -183,7 +183,7 @@ public class OraclePaginationWithLocksTest { .setMaxResults( 10 ) .getResultList(); assertEquals( 10, people.size() ); - assertTrue( mostRecentStatementInspector.sqlContains( "fetch" ) ); + assertTrue( mostRecentStatementInspector.sqlContains( "rownum" ) ); } ); @@ -219,7 +219,7 @@ public class OraclePaginationWithLocksTest { .setMaxResults( 10 ) .getResultList(); assertEquals( 1, people.size() ); - assertTrue( mostRecentStatementInspector.sqlContains( "fetch" ) ); + assertTrue( mostRecentStatementInspector.sqlContains( "rownum" ) ); } );