H1-1. Definition
RDB는 Inheritance ❌
Super Type & Sub Type 관계라는 Modeling 기법 → Object Inheritance 와 유사
Inheritance Mapping
: Object Inheritance 와 DB Supter Type & Sub Type 관계를 매핑
H2-1. Super & Sub Type Logical Model → Physical Model
각각을 Table 로 변환 → Join 전략을 취하는 방법
통합 테이블로 변환 → 단일 테이블 전략 (냅다 때려박기)
서브 타입 테이블로 변환 → 구현 클래스마다 테이블 전략
H3-1. Strategy: Join
장점
단점
Normalization
Join → Performance ⬇️
FK Referential Integrity Constraint 활용 가능
Read Query 복잡함
공간 효율성
데이터 저장 시, Insert SQL 2번 호출