For inserting a DTO into the DB, a Dctor (deconstructor) for this DTO is needed. Java records are good candidates for DTOs. If the record fields and the DB columns follow a given naming convention, it should be possible to derive the Dctor automatically.
For inserting a DTO into the DB, a
Dctor(deconstructor) for this DTO is needed. Java records are good candidates for DTOs. If the record fields and the DB columns follow a given naming convention, it should be possible to derive theDctorautomatically.