JPA 1.0 Mapping II (Java EE 5)


  • 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,Lab Zip and Recordings of this course topic.Please click the "Subscribe" button or the "Login" button if you already have an account.