hibernate/hibernate-orm — pull request #339 by rworsnop (2012-05-21 03:33:42+00:00)
Title: HHH-2394

Added ability to filter on subclasses.

It's possible to filter on sub-classed elements in a collection as well. For this case the filter element/Filter annotation now includes an optional table attribute. This allows Hibernate to choose the correct alias for the filter. (Whereas when the filter is applied directly to the class, we already know the table, obviously.)