bvdaspam:
Filters do work with DetachedCriteria, however, in the current state they are not applied on the subqueries due to the order the parameters are bound.
However, I have a patch submitted under
http://opensource.atlassian.com/project ... se/HHH-530 in order to fix the ordering issue and to also pass the filters along with the subqueries.
However, the current state of that patch only works one level deep, i.e. a subquery within a subquery will blow an exception due to the fact that it doesn't seem to have the same access to the session and filters.
I am hoping to have someone else eyeball it in order to get it moving along again but it looks like it's been stalled since Oct 07.
You might want to keep an eye on that one if you plan on using filters and subqueries. I will say that everything else is working fine except the filters in the out of the box config. (3.2.6)