[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-2952) Support for referencing non-root entities in Criteria SQL expressions
Diego Pires Plentz (JIRA)
noreply at atlassian.com
Sun Dec 9 14:14:56 EST 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2952?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Diego Pires Plentz resolved HHH-2952.
-------------------------------------
Assignee: Diego Pires Plentz
Resolution: Rejected
Since we don't have any user feedback, closing as rejected.
> Support for referencing non-root entities in Criteria SQL expressions
> ---------------------------------------------------------------------
>
> Key: HHH-2952
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2952
> Project: Hibernate3
> Issue Type: Improvement
> Components: query-criteria
> Affects Versions: 3.2.2
> Environment: Java 5, MySQL 5.0, Eclipse 3.2
> Reporter: Jacob Gyllenstierna
> Assignee: Diego Pires Plentz
>
> It would be very helpful to be able to reference non-root entities in Criteria SQL restrictions and projections using placeholders similar to {alias}. A very simple but uninteresting example:
> criteria.createAlias("group", "g");
> criteria.add(Restrictions.sqlRestriction("{g}.id=:groupId"));
--
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