persistence icon indicating copy to clipboard operation
persistence copied to clipboard

Introduce scroll as alternative to getResultList

Open lukasj opened this issue 11 years ago • 6 comments

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

lukasj avatar Aug 13 '14 13:08 lukasj

  • Issue Imported From: https://github.com/javaee/jpa-spec/issues/89
  • Original Issue Raised By:@glassfishrobot
  • Original Issue Assigned To: @ldemichiel

lukasj avatar Aug 31 '18 16:08 lukasj

@glassfishrobot Commented Reported by c.beikov

lukasj avatar Aug 13 '14 13:08 lukasj

@glassfishrobot Commented @lukasj said: considering for 2.2

lukasj avatar Sep 14 '15 17:09 lukasj

@glassfishrobot Commented Issue-Links: relates to JPA_SPEC-99

lukasj avatar Aug 13 '14 13:08 lukasj

@glassfishrobot Commented This issue was imported from java.net JIRA JPA_SPEC-89

lukasj avatar May 05 '17 06:05 lukasj

I guess this can be closed now since #99 was part of JPA 2.2?

beikov avatar Mar 18 '22 12:03 beikov

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.

gavinking avatar Aug 09 '23 17:08 gavinking