Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

update in spring boot

@Mapper(componentModel = "spring")
public interface CustomerMapper {
    void updateCustomerFromDto(CustomerDto dto, @MappingTarget Customer entity);
}
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #update #spring #boot
ADD COMMENT
Topic
Name
6+8 =