Mason

  • 홈
  • 태그
  • 방명록

@ElementCollection 1

@ElementCollection 그리고 @Embedded와 비교

Embedded Type을 공부하던 중 @ElementCollection과 @Embedded가 비슷하면서도 다른점을 느껴 개인적으로나마 간략하게라도 정리를 해야겠다고 생각하여 블로그를 작성하게 되었다. 먼저 @ElementCollection에 대해 알아보자 (@Embedded의 사용법은 이전 포스트에 기재: https://mason-lee.tistory.com/157 ) @ElementCollection 이란? @ElementCollection은 JPA에서 사용되는 어노테이션으로 단순한 컬렉션(리스트, 맵, 셋 등)을 사용하여 단일 혹은 복합적인 값 타입(int, String 등)을 저장할 때 사용되는 연관관계 매핑의 한 종류이다. 만약 복합적인 값 타입을 저장할 때에는 @Embeddable을 사용하여 ..

Projects/Personal project - 게시판 만들기 2023.08.15
이전
1
다음
더보기
프로필사진

Mason

  • 분류 전체보기 (140)
    • Projects (19)
      • Personal project - 게시판 만들기 (9)
      • Team project - 스택오버플로우 클론코딩 (3)
      • Team project - ShellWe (7)
    • Personal Research (5)
    • Java (52)
      • Java (25)
      • Spring & Spring Boot (20)
      • Spring Security (7)
      • Spring WebFlux (0)
    • DB (5)
    • Javascript (9)
    • Nodejs (6)
    • Typescript (4)
    • Datastructure & Algorithm (16)
    • Coding Test Practice (9)
    • Basics of Computer Science .. (7)
    • Deployment (2)
    • Docker (0)
    • Linux Ubuntu (2)
    • Git and Github (2)
    • IntelliJ (1)
    • CS & Interview (1)

Tag

apollo, DB, transaction, annotation, SecurityContextHolder, 객체지향 프로그래밍, Enum, Thread, optional, UsernamePasswordAuthenticationToken, 비동기, 동기, typescript, 재귀, OOP, 스레드, mysql, GraphQL, sql, JPA,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바