[hibernate-commits] Hibernate SVN: r18389 - core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy.

hibernate-commits at lists.jboss.org hibernate-commits at lists.jboss.org
Mon Jan 4 10:03:09 EST 2010


Author: stliu
Date: 2010-01-04 10:03:09 -0500 (Mon, 04 Jan 2010)
New Revision: 18389

Modified:
   core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java
Log:
JBPAPP-3323 org.hibernate.test.legacy.SQLFunctionsTest.testDialectSQLFunctions fails on oracle

Modified: core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java
===================================================================
--- core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java	2010-01-04 14:53:37 UTC (rev 18388)
+++ core/branches/Branch_3_3_2_GA_CP/testsuite/src/test/java/org/hibernate/test/legacy/SQLFunctionsTest.java	2010-01-04 15:03:09 UTC (rev 18389)
@@ -100,7 +100,7 @@
 
 			// Test a larger depth 3 function example - Not a useful combo other than for testing
 			assertTrue(
-				s.find("select trunc(round(sysdate())) from Simple s").size() == 1
+				s.find("select trunc(round(sysdate)) from Simple s").size() == 1
 			);
 
 			// Test the oracle standard NVL funtion as a test of multi-param functions...



More information about the hibernate-commits mailing list