Author: steve.ebersole(a)jboss.com
Date: 2009-08-17 13:40:52 -0400 (Mon, 17 Aug 2009)
New Revision: 17337
Modified:
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/hql/HQLTest.java
Log:
HHH-4091 - HQLTest#testDuplicateImplicitJoinInSelect
Modified:
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/hql/HQLTest.java
===================================================================
---
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/hql/HQLTest.java 2009-08-17
15:22:39 UTC (rev 17336)
+++
core/branches/Branch_3_3/testsuite/src/test/java/org/hibernate/test/hql/HQLTest.java 2009-08-17
17:40:52 UTC (rev 17337)
@@ -1130,7 +1130,8 @@
// duplicates the condition, whereas the new parser does not. The queries are
semantically the
// same however.
if ( getDialect() instanceof Oracle8iDialect ) return;
- assertTranslation( "select an.mother.bodyWeight from Animal an join an.mother m
where an.mother.bodyWeight > 10" );
+// the classic translator handles this incorrectly; the explicit join and the implicit
ones should create separate physical SQL joins...
+// assertTranslation( "select an.mother.bodyWeight from Animal an join an.mother m
where an.mother.bodyWeight > 10" );
assertTranslation( "select an.mother.bodyWeight from Animal an where
an.mother.bodyWeight > 10" );
//assertTranslation("select an.mother from Animal an where an.mother.bodyWeight is
not null");
assertTranslation( "select an.mother.bodyWeight from Animal an order by
an.mother.bodyWeight" );