]
Diego Pires Plentz resolved HHH-1619.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Duplicate
Add public DetachedCriteria createAlias(String associationPath,
String alias) method to the DetachedCriteria
-------------------------------------------------------------------------------------------------------------
Key: HHH-1619
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1619
Project: Hibernate3
Issue Type: Improvement
Components: query-criteria
Affects Versions: 3.1.3
Reporter: Aleksei Valikov
Assignee: Diego Pires Plentz
Priority: Minor
Original Estimate: 10 minutes
Remaining Estimate: 10 minutes
Hibernate 3.1.2 introduced the possibility to specify join type for aliases in criteria.
There was added the following method:
public Criteria createAlias(String associationPath, String alias, int joinType) throws
HibernateException;
Unfortunatelly, such a method was not added to the DetachedCriteria.
Resolution is trivial. Please add:
public DetachedCriteria createAlias(String associationPath, String alias, int joinType)
throws HibernateException
{
criteria.createAlias(associationPath, alias, joinType);
return this;
}
to the DetachedCriteria class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: