jakartaee / jakartaee/persistence

Support Java 21 sequenced collections

Open
#565 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

candidate-for-4.1
Dominant language
Java
Stars
268
Forks
78
Avg merge
1d 6h
Merged PRs (30d)
13

Description

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:

* `SequencedCollection`
* `SequencedSet`
* `SequencedMap`

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing Jakarta Persistence's supported collection types and the Java 21 SequencedCollection, SequencedSet, and SequencedMap interfaces. Check how collection mappings and @OrderBy("some_column") are specified and tested. Done means these interfaces are supported consistently as collection types when Jakarta Persistence requires Java 21.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.