[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:
parent
aa44bda14b
commit
b8d21487bf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue