[hibernate-issues] [JIRA] (HHH-9341) Stream-based querying

Steve Ebersole steve at hibernate.org
Tue Aug 29 08:16:55 EDT 2017


Giovanni, that would be awesome.  It would have to live on top of 6.x
codebase which is unfortunately not yet compiling.

On Tue, Aug 29, 2017, 3:32 AM Giovanni Lovato (JIRA) <
jira at hibernate.atlassian.net> wrote:

> Giovanni Lovato
> <https://hibernate.atlassian.net/secure/ViewProfile.jspa?name=heruan>
> *commented* on [image: New Feature] HHH-9341
> <https://hibernate.atlassian.net/browse/HHH-9341>
>
> Re: Stream-based querying
> <https://hibernate.atlassian.net/browse/HHH-9341>
>
> This is very interesting. I'm working on implementations of Java 8 Stream,
> Predicate, Function,
> Comparator and Collector which translates to Criteria API. That is:
>
>
> Stream<Foo> fooStream = new CriteriaStream(Foo.class, entityManager);
> Stream<Baz> bazStream = fooStream
>                         .filter(Foo_.bar.greaterThan(5))
>                         .sort(Foo_.bar.ascending())
>                         .skip(10)
>                         .limit(20)
>                         .map(Foo_.baz);
>
> I'd love to see this in ORM, and I'd love to share and contribute if of
> any interest!
> [image: Add Comment]
> <https://hibernate.atlassian.net/browse/HHH-9341#add-comment> Add Comment
> <https://hibernate.atlassian.net/browse/HHH-9341#add-comment>
>
> Get JIRA notifications on your phone! Download the JIRA Cloud app for
> Android
> <https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail>
> or iOS
> <https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8>
> ------------------------------
> This message was sent by Atlassian JIRA (v1000.1221.0#100059-sha1:377a89b)
> [image: Atlassian logo]
> _______________________________________________
> hibernate-issues mailing list
> hibernate-issues at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-issues
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20170829/0c796326/attachment.html 


More information about the hibernate-issues mailing list