]
Diego Pires Plentz resolved HHH-2400.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Duplicate
ability to specify joinType in createAlias in DetachedCriteria
--------------------------------------------------------------
Key: HHH-2400
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2400
Project: Hibernate3
Issue Type: New Feature
Components: query-criteria
Affects Versions: 3.2.1
Environment: 3.2.1
Reporter: Michal Pavlasek
Assignee: Diego Pires Plentz
Criteria has two methods than can create an alias, but DetachedCriteria has only one
method,
without the possibility of specifying the joinType.
It will be very useful for me to have that opportunity. Now I have to use Criteria
instead of DetachedCriteria in some cases.
Criteria:
Criteria createAlias(String associationPath, String alias)
Join an association, assigning an alias to the joined association.
Criteria createAlias(String associationPath, String alias, int joinType)
Join an association using the specified join-type, assigning an alias to the
joined association.
DetachedCriteria:
DetachedCriteria createAlias(String associationPath, String alias)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: