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