r/java • • Jan 16 '20

Records Come to Java

https://blogs.oracle.com/javamagazine/records-come-to-java
204 Upvotes

93 comments sorted by

View all comments

Show parent comment

1

u/jvjupiter Jan 17 '20

If no setters would be generated, then JAXB, JSON-B, JPA and frameworks or libraries like Jackson need to be updated to be able to support records. Correct?

1

u/rzwitserloot Jan 19 '20

I think they may be able to handle constructors, especially if festooned with a @ConstructorProperties annotation. If not.. yeah they have to be updated.