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
- 스프링
- 김영한
- SpringBoot
- spring
- Spring Boot
- 인프런
- 스프링 핵심 기능
- QueryDSL
- 스프링 핵심 원리
- springdatajpa
- 자바
- AOP
- transaction
- Greedy
- http
- jpa
- pointcut
- 알고리즘
- 그리디
- Exception
- Proxy
- JDBC
- JPQL
- kotlin
- Servlet
- java
- Thymeleaf
- 백준
- Android
- db
Archives
- Today
- Total
목록db (18)
개발자되기 프로젝트
ERD(Entity Relationship Diagram)
ERD는 Entity의 연관관계를 도식화한 표현이다. diagram을 통해 entity들의 연관 관계를 쉽게 파악할 수 있다. 1. 관계 표기법 2. 다이어그램 예시 * PK : primary key * FK : foreign key
카테고리 없음
2021. 6. 17. 20:54
@Entity 기본 속성 - 1
1.@Entity Entity란 JPA가 관리하는 클래스로 @Entity를 통해 테이블과 클래스를 맵핑할 수 있다. @Entity //Entity에는 primary key가 꼭 필요함., JPA가 관리하고 있는 객체 @EqualsAndHashCode public class User { @NonNull private String name; @NonNull private String email; private LocalDateTime createdAt; private LocalDateTime updatedAt; @Id @GeneratedValue //자동으로 하나씩 증가함. private Long id; 해당 클래스에서 사용하는 변수를 column으로 대응된다고 보면 된다. 2. @Id @Entity가 지정..
JPA
2021. 6. 15. 00:31