Validation on JPA level
Validation on REST level ?
JPA conference.duration.start|end == start|end in REST
Convert Representation to JPA then validate, JPA returns 'duration' should not be null. Representation only knows about start/end (which maps to a Duration).
Validation on JPA level Validation on REST level ?
JPA conference.duration.start|end == start|end in REST
Convert Representation to JPA then validate, JPA returns 'duration' should not be null. Representation only knows about start/end (which maps to a Duration).