[hibernate-commits] Hibernate SVN: r11655 - trunk/Hibernate3/code/testsuite/src/test/java/org/hibernate/test/hql.
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Thu Jun 7 21:05:47 EDT 2007
Author: steve.ebersole at jboss.com
Date: 2007-06-07 21:05:47 -0400 (Thu, 07 Jun 2007)
New Revision: 11655
Modified:
trunk/Hibernate3/code/testsuite/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
Log:
changed System.out.prinln calls to log calls
Modified: trunk/Hibernate3/code/testsuite/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java
===================================================================
--- trunk/Hibernate3/code/testsuite/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java 2007-06-07 22:48:34 UTC (rev 11654)
+++ trunk/Hibernate3/code/testsuite/src/test/java/org/hibernate/test/hql/BulkManipulationTest.java 2007-06-08 01:05:47 UTC (rev 11655)
@@ -17,7 +17,10 @@
import org.hibernate.junit.functional.FunctionalTestClassTestSuite;
import org.hibernate.persister.entity.EntityPersister;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
+
/**
* Tests execution of bulk UPDATE/DELETE statements through the new AST parser.
*
@@ -25,6 +28,8 @@
*/
public class BulkManipulationTest extends FunctionalTestCase {
+ private static final Log log = LogFactory.getLog( BulkManipulationTest.class );
+
public BulkManipulationTest(String name) {
super( name );
}
@@ -59,7 +64,7 @@
fail( "no exception thrown" );
}
catch( QueryException e ) {
- System.out.println( "Caught expected error type : " + e.getMessage() );
+ log.debug( "Caught expected error type : " + e.getMessage() );
}
t.commit();
@@ -75,7 +80,7 @@
fail( "no exception thrown" );
}
catch( QueryException e ) {
- System.out.println( "Caught expected error type : " + e.getMessage() );
+ log.debug( "Caught expected error type : " + e.getMessage() );
}
t.commit();
@@ -669,7 +674,7 @@
fail( "update allowed across implicit join" );
}
catch( QueryException e ) {
- System.out.println( "TEST (OK) : " + e.getMessage() );
+ log.debug( "TEST (OK) : " + e.getMessage() );
// expected condition
}
More information about the hibernate-commits
mailing list