Project

General

Profile

Actions

Defect #393

closed

DTO to entity conversion

Added by Filip Měšťánek about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Vít Švanda
Category:
Dto mapping
Target version:
Start date:
05/03/2017
Due date:
% Done:

90%

Estimated time:
Affected versions:
Owner:

Description

When having a protected setter on the DTO, the conversion between entity is not working. In my example, one field is set only in constructor, therefore protected setter is required (maybe even better to have it as private).

The other problem is when I have UUID as a field. Both DTO and entity have UUID field (it is NOT a reference!). I set the UUID to the DTO and when I save it, it is not there anymore.

Actions

Also available in: Atom PDF