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

mapping class inheritance

A collection of 1 post

mapping class inheritance

The problem of subtypes

참조 : Java Persistence with Hibernate 객체에서는 상속이라는 것이 있는데 DB에는 그런게 없기 때문에 발생하는 문제입니다. 객체는 클래스라는 타입이 있고 이러한 타입이 상속되는 반면에 DB에 있는 Table은 type이 아니기 때문에 supertable 이나 subtable 같은 단어는 없습니다. 5장 5.1 “Mapping class inheritance”(p192)에서 이 문제에 대한 해결 방법이

  • 백기선
백기선 Feb 14, 2007 • 3 min read
Whiteship © 2022
Powered by Ghost