| Hey, just from looking at the original example in this issue, I'm wondering what's the benefit of this style. When would one use this approach instead of expressing the condition (title = "Java 8") as part of the JP-QL query? At least a naive implementation of filter would fetch all event records from the database only to drop all those with a non-matching title. Or is the Lambda expression meant to be converted into a JP-QL predicate and applied right at query execution? |