only comment change.

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18780 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Scott Marlow 2010-02-11 14:49:24 +00:00
parent bdc3b50493
commit dafa28812a
1 changed files with 1 additions and 4 deletions

View File

@ -47,10 +47,7 @@ public class DerivedIdentitySimpleParentIdClassDepTest extends TestCase {
s.persist( d );
s.persist( e );
// the following would work
// List depList = s.createQuery("Select d from Dependent d where d.name='LittleP'").list();
// the following query is not finding the entity 'd' added above
// find the entity added above
Query query = s.createQuery("Select d from Dependent d where d.name='LittleP' and d.emp.empName='Paula'");
List depList = query.list();
assertEquals( 1, depList.size() );