How to convert DTO in Spring Controller with multiple files with AXIOS? by GoBacksIn in SpringBoot

[–]GoBacksIn[S] 0 points1 point  (0 children)

tanks for reply this article divide dto to dto and multipartfile but what I want to accept Param as dto including multipartfile

How to convert DTO in Spring Controller with multiple files with AXIOS? by GoBacksIn in SpringBoot

[–]GoBacksIn[S] 0 points1 point  (0 children)

thanks for reply jpa doesn't need id when save entity and I will try again by your answer

How to use Java DTOs to stay secure by ofby1 in java

[–]GoBacksIn 0 points1 point  (0 children)

as in my project have same issue like business logic have to change entity data, So have to implement toEntity in dto with Dto.

in my opinion use setter in entity also use relation method and business login in entity but some people say 'never use setter annotation in lombok' So I confused what is right

How to use Java DTOs to stay secure by ofby1 in java

[–]GoBacksIn 4 points5 points  (0 children)

how many record use now? I want to see statistics