HHH-14024 Fix NativeSQLQueryPlanEqualsTest compilation error

This commit is contained in:
Davide D'Alto 2020-05-18 12:51:37 +01:00
parent 92b559abda
commit 88a712bab7
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ package org.hibernate.test.queryplan;
import org.junit.Test;
import org.hibernate.engine.query.spi.HQLQueryPlan;
import org.hibernate.engine.query.spi.NativeSQLQueryPlan;
import org.hibernate.engine.query.spi.QueryPlanCache;
import org.hibernate.engine.query.spi.sql.NativeSQLQueryReturn;
@ -29,7 +30,7 @@ public class NativeSQLQueryPlanEqualsTest extends BaseCoreFunctionalTestCase {
@Test
public void testNativeSQLQuerySpecEquals() {
QueryPlanCache cache = new QueryPlanCache( sessionFactory() );
QueryPlanCache cache = new QueryPlanCache( sessionFactory(), HQLQueryPlan::new );
NativeSQLQuerySpecification firstSpec = createSpec();
NativeSQLQuerySpecification secondSpec = createSpec();