Javabom
Ctrlk
  • Initial page
  • kimdh
    • ShouldKnow
    • IntelliJ
    • Spring Framework
    • README.md
    • Web
    • Scala
    • Kotlin
    • DevTools
  • daengdaenglee
    • styled-components 라이브러리 활용 예
    • Postfix Notation
    • Slack App
  • EUNCHU
    • Javascript
    • Hooks
    • Java spring
    • Mysql
  • MINHEE
    • Spring Boot
      • 직렬화
      • Optional [Java 8]
      • JPA
        • java bean mapper와 DTO
        • DAO - DTO - Entity의 차이
        • Map Struct 참고
      • Date의 흐름
    • Session 관리
  • Sherry
    • Untitled
  • JeongAh
    • Untitled
Powered by GitBook
On this page
  1. MINHEE
  2. Spring Boot
  3. JPA

Map Struct 참고

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

@Mapper interface를 생성하는 방식 https://hellokoding.com/mapping-jpa-hibernate-entity-and-dto-with-mapstruct/

BeansUtils를 이 http://appsdeveloperblog.com/dto-to-entity-and-entity-to-dto-conversion/

ModelMapper 라이브러리를 이용 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

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

Last updated 6 years ago

Was this helpful?

Was this helpful?