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
- Servlet
- 인프런
- Exception
- 백준
- 김영한
- java
- Spring Boot
- SpringBoot
- Android
- pointcut
- spring
- 자바
- QueryDSL
- Thymeleaf
- 스프링 핵심 기능
- springdatajpa
- 그리디
- db
- kotlin
- jpa
- AOP
- Greedy
- JDBC
- transaction
- Proxy
- 스프링 핵심 원리
- 스프링
- http
- JPQL
- 알고리즘
Archives
- Today
- Total
목록값타입 (1)
개발자되기 프로젝트
[예제] 값 타입 매핑
1. Address 임베디드 타입 Equals and HashCode 생성 시 Getter를 사용하도록 옵션 설정 getter를 사용하지 않고 필드에 직접 접근하면 프록시의 경우 계산이 안됨 ㅜ 그러니 getter사용하도록 . 값 타입을 사용하면 의미있는 메서드도 생성이 가능하다. validation도 공통으로 쓸 수 있고.. 여러 이점이 있음. @Embeddable public class Address { private String name; @Column(length = 10) private String city; @Column(length = 20) private String street; @Column(length = 5) private String zipcode; private String fu..
인프런/[인프런] 자바ORM 표준 JPA 프로그래밍
2021. 8. 14. 13:25