What do Java Records provide and their limitations?

DTO: record UserResponse(String id, String name) {} — JSON mapping works. Service layer immutable value objects. Not for entities needing setters/lazy...

What do Java Records provide and their limitations? · Home · Support the platform