Skip to content

Relay open directives from Jakarta Persistence to implementations #1173

Description

@marko-bekhta

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:

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:

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

An implementation idea of this for Jakarta Validation:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions