Add the getResultStream() default method in org.hibernate.query.Query

Description

Now that the JPA 2.2 spec has been approved, we could add a getResultStream method in org.hibernate.query.Query which will call the stream method added in Hibernate 5.1:

This way, Hibernate 5.2 could be used even if the clients have the JPA 2.1 or 2.2 dependency on their classpath.

For more details, check out the Hibernate mailing list thread.

Activity

Vlad MihalceaAugust 15, 2017 at 8:46 AM

Applied PR upstream.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created August 3, 2017 at 7:26 AM
Updated September 13, 2017 at 6:25 PM
Resolved August 15, 2017 at 8:46 AM