https://gompangs.tistory.com/entry/JAVASpring-BeanUtils-%EA%B4%80%EB%A0%A8
[JAVA/Spring] BeanUtils 관련
Spring을 사용하다가, 은근히 종종 Class간 property를 복사해야 할 경우가 있다. 예를 들어, 위와 같은 클래스가 2개가 있다고 치자. 이 때 DB에서 조회한 Person1과 Person2가 있는데, 종종 어떠한 이유로
gompangs.tistory.com
[ApacheCommons] BeanUtils 사용하기 (Map <-> Bean)
출처 : http://woongsanta.tistory.com/25 1. jakarta Project BeanUtils 소개 요즘 자주 사용하는 스트럿츠, 스프링 등의 프레임워크를 보면 BeanUtils를 자주 사용하는 걸 볼 수 있습니다. 자바 객체의 속성들..
tyboss.tistory.com
'Dev > Spring' 카테고리의 다른 글
스프링부트(SpringBoot) Multipart 파일 업로드 (0) | 2021.06.22 |
---|---|
[Spring] @Mapper/@Repository 이해하기 (0) | 2021.06.07 |
[Spring] @RequestMapping 이해하기 (0) | 2021.06.07 |
[Spring] @ResponseBody 이해하기 (0) | 2021.06.07 |
[Spring] @Component 애노테이션 및 함께 사용하는 애노테이션 정리 (0) | 2021.06.04 |