Hi all,
The repository pattern is a well-used and well-known pattern that facilitates querying data in an easy way. I think it matches the Cloud Native practices, as many Cloud Native applications have been built using this pattern. My suggestion is to add support to the repository pattern as it will improve the developer's experience and close the JPA to modern practices. Another argument is the Jakarta NoSQL is implementing this pattern as well, as you can see here. Adding it to the JPA will make the Jakarta EE API more harmonic, as both persistence APIs will provide a way to use this pattern.
Hi all,
The repository pattern is a well-used and well-known pattern that facilitates querying data in an easy way. I think it matches the Cloud Native practices, as many Cloud Native applications have been built using this pattern. My suggestion is to add support to the repository pattern as it will improve the developer's experience and close the JPA to modern practices. Another argument is the Jakarta NoSQL is implementing this pattern as well, as you can see here. Adding it to the JPA will make the Jakarta EE API more harmonic, as both persistence APIs will provide a way to use this pattern.