I have a situation that is identical to the
unidirectional Set based association described here. I have a question regarding querying the association.
Here's my question: Using the example above, how would I write the HQL to return a Collection (Set, List, whatever) of Events for a particular Person, but only for those Events where the event.active property is true.
So, I need to somehow filter by the Person's ID and the Event's active property, and return the Event objects, but I don't know how to do it.
Thank you!!
-Ryan