Does it make sense to return a Stream in the jpa method?
I'm looked at Query interface, and it just getResult and make it as stream. I can do it myself.
public interface TypedQuery<X> extends Query {
List<X> getResultList();
default Stream<X> getResultStream() {
return this.getResultList().stream();
}