[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-1125) better handling of filter params in HQL to allow filter use on subqueries

Diego Pires Plentz (JIRA) noreply at atlassian.com
Sun Sep 23 14:00:14 EDT 2007


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

Diego Pires Plentz resolved HHH-1125.
-------------------------------------

    Resolution: Duplicate

> better handling of filter params in HQL to allow filter use on subqueries
> -------------------------------------------------------------------------
>
>                 Key: HHH-1125
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1125
>             Project: Hibernate3
>          Issue Type: Improvement
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>
> Currently in HQL queries, the translator disables inclusion of filters on subqueries.  Mainly, this was due to the fact that the parameter binding code gets confused because the parameters end up "out of expected order" (filter parameters are always expected to be the first bind points within the resulting SQL query).
> However, it is definitely possible to have the translator deal with this correctly.  This will require changes to JoinProcessor, Loader, QueryLoader, and (possibly) FromElementFactory to make use of the ParameterSpecification stuff currently tracked on HqlSqlWalker.
> Then, we should allow a (SF-scoped) config option as to whether filters should be applied to subqueries (false by default).

-- 
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