[HHH-925] DetachedCriteria.createCriteria not working with alias

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14006 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Diego Plentz 2007-09-08 21:24:22 +00:00
parent aa44bda14b
commit b8d21487bf
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ public class DetachedCriteria implements CriteriaSpecification, Serializable {
public DetachedCriteria createCriteria(String associationPath, String alias)
throws HibernateException {
return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
return new DetachedCriteria( impl, criteria.createCriteria(associationPath, alias) );
}
public DetachedCriteria createCriteria(String associationPath)