spring-projects / spring-projects/spring-data-commons
Make Repository available in CDI 4 environment by default
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 838
- Forks
- 730
- PR merge metrics
- No merged PRs in 30d
Description
I remember there is an old issue about this topic, now Jakarta EE 10/CDI 4 is switched to use annotated discovery mode by default to scan beans.
But Spring Data Repository still requires using all discovery mode (the default mode in the legacy CDI 1.x/2.x) to treat Spring Data Repository as CDI beans in a Jakarta container, such as WildFly, Payara, Glassfish etc.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how Spring Data Repository types are discovered as CDI beans and compare the CDI 4 annotated mode with the legacy all mode in Jakarta containers. Done means Repository works as a CDI bean by default in CDI 4 environments such as WildFly, Payara, and GlassFish without requiring all discovery mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100