diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java index 5e962a1638..f8f4639a61 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/TupleSupportTest.java @@ -30,6 +30,7 @@ import javax.persistence.Id; import java.util.Collections; +import org.hibernate.Filter; import org.hibernate.Session; import org.hibernate.SessionFactory; import org.hibernate.cfg.AvailableSettings; @@ -98,7 +99,7 @@ public class TupleSupportTest extends BaseUnitTestCase { public void testImplicitTupleNotEquals() { final String hql = "from TheEntity e where e.compositeValue <> :p1"; HQLQueryPlan queryPlan = ( (SessionFactoryImplementor) sessionFactory ).getQueryPlanCache() - .getHQLQueryPlan( hql, false, Collections.emptyMap() ); + .getHQLQueryPlan( hql, false, Collections.emptyMap() ); assertEquals( 1, queryPlan.getSqlStrings().length ); System.out.println( " SQL : " + queryPlan.getSqlStrings()[0] ); @@ -109,7 +110,7 @@ public class TupleSupportTest extends BaseUnitTestCase { public void testImplicitTupleNotInList() { final String hql = "from TheEntity e where e.compositeValue not in (:p1,:p2)"; HQLQueryPlan queryPlan = ( (SessionFactoryImplementor) sessionFactory ).getQueryPlanCache() - .getHQLQueryPlan( hql, false, Collections.emptyMap() ); + .getHQLQueryPlan( hql, false, Collections.emptyMap() ); assertEquals( 1, queryPlan.getSqlStrings().length ); System.out.println( " SQL : " + queryPlan.getSqlStrings()[0] );