-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jakarta persistence module proposal #486
Conversation
Signed-off-by: Otavio Santana <[email protected]>
Signed-off-by: Otavio Santana <[email protected]>
Signed-off-by: Otavio Santana <[email protected]>
Signed-off-by: Otavio Santana <[email protected]>
* @param <T> the type of the primary entity class of the repository. | ||
* @param <K> the type of the Id attribute of the primary entity. | ||
*/ | ||
public interface JakartaPersistenceRepository <T, K> extends DataRepository<T, K> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Once we agree with persistence
I belive the JakartaPersistence
might be fine.
Open for suggestion, I am not good at name proposals
public interface JakartaPersistenceRepository <T, K> extends DataRepository<T, K> { | ||
|
||
@Find | ||
T find(K id); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It requires the documentation, but IMHO, we can do it in another PR. It has a lot of changes here.
Otavio - before you get too far along this path, this is not something that we can get into version 1.0. We can look at additional repositories in the next version. |
Changes
Based on this discussion: #477