Author: steve.ebersole(a)jboss.com
Date: 2006-09-01 17:36:13 -0400 (Fri, 01 Sep 2006)
New Revision: 10424
Modified:
branches/Branch_3_2/Hibernate3/test/org/hibernate/test/TestCase.java
Log:
assertAllDataRemoved() in JPA tests
Modified: branches/Branch_3_2/Hibernate3/test/org/hibernate/test/TestCase.java
===================================================================
--- branches/Branch_3_2/Hibernate3/test/org/hibernate/test/TestCase.java 2006-09-01
20:57:42 UTC (rev 10423)
+++ branches/Branch_3_2/Hibernate3/test/org/hibernate/test/TestCase.java 2006-09-01
21:36:13 UTC (rev 10424)
@@ -9,8 +9,6 @@
import java.util.Map;
import junit.framework.AssertionFailedError;
-import junit.framework.TestResult;
-import junit.framework.TestListener;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
@@ -329,7 +327,7 @@
Session tmpSession = sessions.openSession();
try {
- List list = tmpSession.createQuery( "from java.lang.Object" ).list();
+ List list = tmpSession.createQuery( "select o from java.lang.Object o"
).list();
Map items = new HashMap();
if ( !list.isEmpty() ) {
Show replies by date