[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-1619) Add public DetachedCriteria createAlias(String associationPath, String alias) method to the DetachedCriteria

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Sep 9 16:58:14 EDT 2007


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Diego Pires Plentz updated HHH-1619:
------------------------------------

    Component/s: query-criteria

> 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
>            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: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list