Query::getResultStream not correctly implemented?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Query::getResultStream not correctly implemented?

Yannick Majoros-2
Hello,

From a quick look in the sources, it looks to me that getResultStream isn't implemented by EclipseLink, relying instead to javax.persistence.TypedQuery::getResultStream default implementation:
default Stream getResultStream() {
return getResultList().stream();
}
Is there a plan to support it better, e.g. with a cursor / spliterator? Hibernate has been supporting it for some time now.

Thanks
---
Yannick Majoros

_______________________________________________
eclipselink-users mailing list
[hidden email]
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/eclipselink-users