I cannot resolve modelMapper error. Do you have any ideas where is the issue?
NB: In view java.sql.Time doesn\'t have non-argument constructor I didn\'t find the better
You need to customize ModelMapper configuration during Bean initialization with the help of a PropertyMap: http://modelmapper.org/user-manual/property-mapping/
@Bean
public ModelMapper modelMapper(){
ModelMapper mm = new ModelMapper();
PropertyMap propertyMap = new PropertyMap (){
protected void configure() {
map(source.getId()).setId(null);
}
}
mm.addMappings(propertyMap);
return mm;
}