JPA 1.0 Mapping II (Java EE 5)
Agenda
- Entity Inheritance relationship
- Single table strategy
- Joined strategy
- Which one to use
Entity Inheritance
- Entities can have inheritance relationship
- They are POJO's
- Three inheritance mapping strategies (mapping entity inheritance to database tables)
- Single table
- Joined subclass
- Table per class (rarely used)
- Use annotation @Inheritance(..)
You must have an active subscription to download PDF and Lab Zip of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.