Introduce scroll as alternative to getResultList
Since Java 8 was much about streams, parallelism and so on, I guess it only makes sense to extends javax.persistence.Query to also offer a method, that returns something like hibernates org.hibernate.ScrollableResults.
Since Java 8 introduced Stream JPA could introduce something like a ResultStream that additionally supports scrolling.
This would make it possible to use JPA for big amounts of data ![]()
- Issue Imported From: https://github.com/javaee/jpa-spec/issues/89
- Original Issue Raised By:@glassfishrobot
- Original Issue Assigned To: @ldemichiel
@glassfishrobot Commented Reported by c.beikov
@glassfishrobot Commented @lukasj said: considering for 2.2
@glassfishrobot Commented Issue-Links: relates to JPA_SPEC-99
@glassfishrobot Commented This issue was imported from java.net JIRA JPA_SPEC-89
I guess this can be closed now since #99 was part of JPA 2.2?
I guess this can be closed now since #99 was part of JPA 2.2?
Since @beikov was the original reporter of this issue, and he's satisfied, I'm going to close it.