/users
/posts
/slides
/apps
/books
mysetting
/users
/posts
/slides
/apps
/books
2023-02-28 03:20
[Spring JPA] Entity의 equals와 hashCode
환경: Spring JPA
문제: PK가 같은 엔티티 2개가 각각 준영속, 영속상태일 때 비교가 되지 않음
해결: equals, hashCode 메서드를 재정의
Object 클래스의 equals 특성
1. reflexive (반사...
더보기
Spring
+ 더보기
개구린개구리
0
0
0
댓글
댓글 달기
About
Badge
Contact
Activity
Terms of service
Privacy Policy