1
0
mirror of https://github.com/hibernate/hibernate-orm synced 2025-02-17 16:44:57 +00:00

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

@ -47,10 +47,7 @@ public void testQueryNewEntityInPC() throws Exception {
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() );