jakartaee / jakartaee/persistence

Relay open directives from Jakarta Persistence to implementations

Open
#1,173 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Java
Stars
267
Forks
78
Avg merge
1d 6h
Merged PRs (30d)
13

Description

Spec implementers need to access the persistent attribute values (and/or maybe other things). Under the JPMS system, this usually requires users to add corresponding `opens` directives to their module info:
```java
opens my.package.with.entities to some.jakarta.persistence.implementation.provider.module;
```

Changing providers(implementations) also requires changing these open directives. The suggestion is to let users declare the directives for the spec module and spec module can then relay them to the implementor:

```java
opens my.package.with.entities to jakarta.persistence;
```

An implementation idea of this for Jakarta Validation:
* https://github.com/jakartaee/validation/pull/340

Contributor guide

Open the contributing guide

Research direction

Start by reading the issue proposal and the linked Jakarta Validation pull request #340, then compare how that project handles JPMS opens directives. Define the persistence specification and implementation behavior needed for users to target jakarta.persistence, including how completion would be verified.

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
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.