MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/eplsgy/records_come_to_java/fekdi6b/?context=3
r/java • u/daviddel • Jan 16 '20
93 comments sorted by
View all comments
11
Will records be usable as JPA entities?
15 u/kaperni Jan 16 '20 Records are immutable. So if you need to mutate data they are probably not that useful. 8 u/karstens_rage Jan 16 '20 For javax.persistence and javax.ws.rs it seems like construct and deconstruct are the operative terms not mutate. Seems like records would be super useful in these cases.
15
Records are immutable. So if you need to mutate data they are probably not that useful.
8 u/karstens_rage Jan 16 '20 For javax.persistence and javax.ws.rs it seems like construct and deconstruct are the operative terms not mutate. Seems like records would be super useful in these cases.
8
For javax.persistence and javax.ws.rs it seems like construct and deconstruct are the operative terms not mutate. Seems like records would be super useful in these cases.
11
u/lurker_in_spirit Jan 16 '20
Will records be usable as JPA entities?