diff --git a/hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/tools/OrderSequenceGenerationTest.java b/hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/tools/OrderSequenceGenerationTest.java index 1307409b17..ccd05a24f1 100644 --- a/hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/tools/OrderSequenceGenerationTest.java +++ b/hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/tools/OrderSequenceGenerationTest.java @@ -67,7 +67,7 @@ public class OrderSequenceGenerationTest extends BaseEnversJPAFunctionalTestCase final String content = new String( Files.readAllBytes( createSchema.toPath() ) ).toLowerCase(); for ( int i = 0; i < createStrings.length; ++i ) { if ( getDialect() instanceof OracleDialect ) { - assertTrue( content.contains( ( createStrings[ i ] + " ORDER" ).toLowerCase() ) ); + assertTrue( content.contains( ( createStrings[ i ] + " NOCACHE ORDER" ).toLowerCase() ) ); } else { assertTrue( content.contains( createStrings[ i ].toLowerCase() ) );