Currently we say:
Exceptionally, the annotation jakarta.data.repository.Repository must be treated as a discoverable annotation type, even though it is not explicitly annotated @Discoverable.
I'm thinking that this is not quite enough, since it makes an implicit assumption that the Jakarta Data repository is deployed in the persistence unit, but application programs might want some other modular architecture.
I'm thinking it would be good to add some additional language that the EE container treats every Jakarta Data repository which depends on the persistence unit as a discoverable type of that persistence unit.
Currently we say:
I'm thinking that this is not quite enough, since it makes an implicit assumption that the Jakarta Data repository is deployed in the persistence unit, but application programs might want some other modular architecture.
I'm thinking it would be good to add some additional language that the EE container treats every Jakarta Data repository which depends on the persistence unit as a discoverable type of that persistence unit.