[hibernate-commits] Hibernate SVN: r20141 - core/trunk/testsuite/src/test/java/org/hibernate/test/queryplan.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Fri Aug 13 16:21:08 EDT 2010


Author: steve.ebersole at jboss.com
Date: 2010-08-13 16:21:07 -0400 (Fri, 13 Aug 2010)
New Revision: 20141

Modified:
   core/trunk/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java
Log:
HHH-5300 - Configurable QueryPlanCache reference counts (Manuel Dominguez Sarmiento)


Modified: core/trunk/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java
===================================================================
--- core/trunk/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java	2010-08-13 16:46:02 UTC (rev 20140)
+++ core/trunk/testsuite/src/test/java/org/hibernate/test/queryplan/NativeSQLQueryPlanEqualsTest.java	2010-08-13 20:21:07 UTC (rev 20141)
@@ -46,7 +46,7 @@
 	}
 
 	public void testNativeSQLQuerySpecEquals() {
-		QueryPlanCache cache = new QueryPlanCache(null);
+		QueryPlanCache cache = new QueryPlanCache( sfi() );
 		NativeSQLQuerySpecification firstSpec = createSpec();
 
 		NativeSQLQuerySpecification secondSpec = createSpec();



More information about the hibernate-commits mailing list