]
Diego Pires Plentz resolved HHH-925.
------------------------------------
Resolution: Fixed
Done in trunk/branch 3.2
DetachedCriteria.createCriteria not working with alias
------------------------------------------------------
Key: HHH-925
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-925
Project: Hibernate3
Issue Type: Bug
Components: query-criteria
Affects Versions: 3.2.5
Environment: Oracle
Reporter: Felipe Cuozzo
Assignee: Diego Pires Plentz
Fix For: 3.2.6
Attachments: DetachedCriteria.patch
Original Estimate: 10 minutes
Remaining Estimate: 10 minutes
DetachedCriteria.createCriteria(associationPath, alias) is calling the wrong
Criteria.createCriteria method
public DetachedCriteria createCriteria(String associationPath, String alias)
throws HibernateException {
return new DetachedCriteria( impl, criteria.createCriteria(associationPath) );
}
should be:
public DetachedCriteria createCriteria(String associationPath, String alias)
throws HibernateException {
return new DetachedCriteria( impl, criteria.createCriteria(associationPath, alias) );
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: