Author: steve.ebersole(a)jboss.com
Date: 2006-12-05 13:47:29 -0500 (Tue, 05 Dec 2006)
New Revision: 10924
Modified:
trunk/Hibernate3/test/org/hibernate/test/jpa/ql/JPAQLComplianceTest.java
Log:
additional test query
Modified: trunk/Hibernate3/test/org/hibernate/test/jpa/ql/JPAQLComplianceTest.java
===================================================================
--- trunk/Hibernate3/test/org/hibernate/test/jpa/ql/JPAQLComplianceTest.java 2006-12-05
14:55:02 UTC (rev 10923)
+++ trunk/Hibernate3/test/org/hibernate/test/jpa/ql/JPAQLComplianceTest.java 2006-12-05
18:47:29 UTC (rev 10924)
@@ -35,6 +35,7 @@
// caused problems with the "discriminator resolution" code; unable to
reproduce)...
s.createQuery( "from MyEntity e where e.class = MySubclassEntity" );
s.createQuery( "from MyEntity e where e.other.class = MySubclassEntity" );
+ s.createQuery( "from MyEntity where other.class = MySubclassEntity" );
s.createQuery( "select object(I) from Item i").list();
s.close();
Show replies by date