Author: d.plentz
Date: 2007-09-08 17:24:35 -0400 (Sat, 08 Sep 2007)
New Revision: 14007
Modified:
core/branches/Branch_3_2/src/org/hibernate/criterion/DetachedCriteria.java
Log:
[HHH-925] DetachedCriteria.createCriteria not working with alias
Modified: core/branches/Branch_3_2/src/org/hibernate/criterion/DetachedCriteria.java
===================================================================
--- core/branches/Branch_3_2/src/org/hibernate/criterion/DetachedCriteria.java 2007-09-08
21:24:22 UTC (rev 14006)
+++ core/branches/Branch_3_2/src/org/hibernate/criterion/DetachedCriteria.java 2007-09-08
21:24:35 UTC (rev 14007)
@@ -87,7 +87,7 @@
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)
Show replies by date