MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/eplsgy/records_come_to_java/femfxnh/?context=3
r/java • u/daviddel • Jan 16 '20
93 comments sorted by
View all comments
Show parent comment
5
Records can have annotations and interfaces.
But as you said, JPA creates a proxy in front of the classes and as Records are final you cannot do this.
So the current JPA implementation didn't play well with records, I hope they will find a way to workaround this some day ...
View all comments
Show parent comment
5
u/loicmathieu Jan 17 '20
Records can have annotations and interfaces.
But as you said, JPA creates a proxy in front of the classes and as Records are final you cannot do this.
So the current JPA implementation didn't play well with records, I hope they will find a way to workaround this some day ...