From cf8bca62007933cc8f87d9c9bd36ac3b48b885d4 Mon Sep 17 00:00:00 2001 From: Strong Liu Date: Mon, 14 May 2012 01:41:14 +0800 Subject: [PATCH] fixing test case, was a typo --- .../hibernate/test/dialect/functional/SQLServerDialectTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/matrix/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java b/hibernate-core/src/matrix/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java index 53a9631b06..00d7bffea1 100644 --- a/hibernate-core/src/matrix/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java +++ b/hibernate-core/src/matrix/java/org/hibernate/test/dialect/functional/SQLServerDialectTest.java @@ -77,7 +77,7 @@ public class SQLServerDialectTest extends BaseCoreFunctionalTestCase { s.flush(); s.clear(); - List list = s.createQuery( "from Product where description like 'Kit%'" ) + List list = s.createQuery( "from Product2 where description like 'Kit%'" ) .setFirstResult( 2 ) .setMaxResults( 2 ) .list();