quarkusio / quarkus

Quarkus: Supersonic Subatomic Java.
https://quarkus.io
Apache License 2.0
13.82k stars 2.69k forks source link

add a pagination interface to Panache #30385

Closed hmbig2 closed 9 months ago

hmbig2 commented 1 year ago

Description

The Jakarta Data specification defines a pagination interface, spring JPA has the same interface.

why didn't Quarkus-panache implement this interface?

Implementation ideas

No response

quarkus-bot[bot] commented 1 year ago

/cc @FroMage (panache), @loicmathieu (panache)

mkouba commented 1 year ago

PanacheQuery does support pagination: https://quarkus.io/guides/hibernate-orm-panache#paging

geoand commented 1 year ago

@gavinking what is our position WRT Jakarta Data?

codespearhead commented 9 months ago

Should this issue be closed then?

FroMage commented 9 months ago

why didn't Quarkus-panache implement this interface?

Because we don't implement Jakarta Data, because it's not released yet and Quarkus ORM with Panache is older than this and supports pagination already, as noted above :)

what is our position WRT Jakarta Data?

I believe our position is to wait until later to implement it.

Let's close this issue, we'll open another one to implement Jakarta Data later when/if we intend to implement it.