Historically Hibernate allowed "filtering" a collection through a special form of Query accessible via Session#createFilter. I would like to shift this to instead leverage Java 8 streaming. There are a 2 main reasons for this:
First and foremost it is a more natural idiom given Java 8's introduction of streaming APIs
Secondly the Query API based filtering adds crazy requirements on the Query grammars and translators which I'd like to clean up.
We agreed to dropping support for Session#createFilter in 6.0.
The next step would be filtering, etc based on Java 8 Streams in some 6.x. To be clear this is intended as an interpretation of the Stream operations into SQM/SQL query to resolve the results.
For the moment I have this scheduled for 6.0, but that is simply to not lose track of it. This will most likely not happen for 6.0, more like some 6.x