Whiteship
  • Home
  • 인프런 강의
  • Java
  • Spring
  • JPA
  • SDE Tips
Subscribe
Tagged

Identity

A collection of 1 post

Equality

The problem of identity

참조 : Java Persistence With Hibernate Java에는 두 가지의 동일성에 대한 표현[footnote]Equality를 나타내는 equals()와 Object identity를 나타내는 == 이 있습니다.[/footnote]이 있고 DB에서의 row에 대한 identity는 주키로 나타내기 때문에 발생하는 문제 입니다.[footnote]단순히 동일성 표현 방법의 갯수가 차이 나서 그런 것은 아닙니다.[/footnote] 9.2.2에 보시면

  • 백기선
백기선 Feb 16, 2007 • 2 min read
Whiteship © 2022
Powered by Ghost