다양한 연관관계 맵핑5(어노테이션 속성)

Mina Park·2022년 9월 9일
0

@JoinColum

  • 외래키 맵핑시 사용

@ManyToOne

  • mappedBy 속성이 없다 => 항상 연관관계의 주인이어야 함

@OneToMany

0개의 댓글