jakartaee / persistence

https://jakartaee.github.io/persistence/
Other
187 stars 55 forks source link

Support Java 21 sequenced collections #565

Open beikov opened 6 months ago

beikov commented 6 months ago

Since Jakarta EE 11 bumps the Java requirement to 21, Jakarta Persistence should IMO do so as well. If time permits, it should IMO also add support for the new sequenced collection interfaces:

These types should be supported collection types which are useful when using @OrderBy("some_column").

lukasj commented 5 months ago

Since Jakarta EE 11 bumps the Java requirement to 21

this may be not true in the end eventually, there is a wish to stick with 17 and it is likely there will be some voting about it in the near future.

In any case, from the persistence spec - and my - point of view:

WDYT?

beikov commented 5 months ago

Sounds good to me. I just wanted to propose an actually useful feature that requires Java 21 if Jakarta Persistence were to bump to that version.