diff --git a/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java b/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java index 285466d528..0130243009 100644 --- a/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java +++ b/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java @@ -46,7 +46,7 @@ public class NativeSQLQueryPlanEqualsTest extends FunctionalTestCase { } public void testNativeSQLQuerySpecEquals() { - QueryPlanCache cache = new QueryPlanCache(null); + QueryPlanCache cache = new QueryPlanCache( sfi() ); NativeSQLQuerySpecification firstSpec = createSpec(); NativeSQLQuerySpecification secondSpec = createSpec();