Javabom
  • Initial page
  • kimdh
    • ShouldKnow
    • IntelliJ
    • Spring Framework
      • SpringBoot
        • exception handling
      • SpringCloud
        • Zuul
        • Eureka
        • Ribbon
    • README.md
    • Web
      • RESTApi
      • Material Design
      • React
        • ESLint
    • Scala
      • Akka
    • Kotlin
    • DevTools
      • Redmine
      • Gerrit
      • Jenkins
      • VisualParadime
  • daengdaenglee
    • styled-components 라이브러리 활용 예
    • Postfix Notation
      • Stack을 이용하여 infix notation을 postfix notation으로 변경하기
      • Postfix Notation 계산하기
    • Slack App
      • Slack App 만들기 기초
  • EUNCHU
    • Javascript
      • Promise
      • Iterable Iterator 정의
    • Hooks
    • Java spring
      • Lombok
      • Untitled
    • Mysql
  • MINHEE
    • Spring Boot
      • 직렬화
        • 직렬화(Serializable)
        • Java의 직렬화(Serialize)란?
      • Optional [Java 8]
      • JPA
        • java bean mapper와 DTO
        • DAO - DTO - Entity의 차이
        • Map Struct 참고
      • Date의 흐름
    • Session 관리
      • Storage
        • localStorage/sessionStorage 클라이언트에 정보 저장
          • React 블로그 - 로그인 구현
      • Spring Security
        • Spring Security 회원가입 / 로그인 구현
  • Sherry
    • Untitled
  • JeongAh
    • Untitled
Powered by GitBook
On this page

Was this helpful?

  1. MINHEE
  2. Spring Boot
  3. JPA

Map Struct 참고

PreviousDAO - DTO - Entity의 차이NextDate의 흐름

Last updated 5 years ago

Was this helpful?

Entity - DTO를 연결하는 여러가지 방법

@Mapper interface를 생성하는 방식

BeansUtils를 이

ModelMapper 라이브러리를 이용

https://hellokoding.com/mapping-jpa-hibernate-entity-and-dto-with-mapstruct/
http://appsdeveloperblog.com/dto-to-entity-and-entity-to-dto-conversion/
https://yonguri.tistory.com/entry/Entity-DTO-%EA%B7%B8-%EC%82%AC%EC%9D%B4%EC%9D%98-ModelMapper-%EC%9D%B4%EC%95%BC%EA%B8%B0