Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- JPQL
- 알고리즘
- springdatajpa
- SpringBoot
- jpa
- Servlet
- spring
- JDBC
- 그리디
- 스프링
- Thymeleaf
- 인프런
- pointcut
- QueryDSL
- Spring Boot
- AOP
- kotlin
- 스프링 핵심 기능
- Android
- Proxy
- 스프링 핵심 원리
- Exception
- 김영한
- http
- Greedy
- 자바
- db
- java
- 백준
- transaction
Archives
- Today
- Total
목록ManyToMany (1)
개발자되기 프로젝트
M : N(다대다) 연관관계 - 1
이전에 작성한 ERD를 보면 book와 author가 다대다 관계이다. 1. Author Author와 Book은 M : N 관계이다. books에 @ManyToMany를 적용 @Entity @Data @NoArgsConstructor @ToString(callSuper = true) @EqualsAndHashCode(callSuper = true) public class Author extends BaseEntity{ @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private long Id; private String name; private String country; @ManyToMany @ToString.Exclude private List ..
JPA
2021. 6. 22. 21:52