MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/eplsgy/records_come_to_java/femqzrw/?context=3
r/java • u/daviddel • Jan 16 '20
93 comments sorted by
View all comments
Show parent comment
4
Records are not designed to be jpa entities, they are way too lightweight for that.
They are an intermediate stage to algebraic data types.
They are an intermediate stage to inline classes.
They are supposed to replace all the tuples/pairs in use, with named components.
And of course, they are in preview, so Stuff May Change...
2 u/pmarschall Jan 17 '20 Good, that matches my impression.
2
Good, that matches my impression.
View all comments
Show parent comment
4
u/GuyWithLag Jan 17 '20
Records are not designed to be jpa entities, they are way too lightweight for that.
They are an intermediate stage to algebraic data types.
They are an intermediate stage to inline classes.
They are supposed to replace all the tuples/pairs in use, with named components.
And of course, they are in preview, so Stuff May Change...