• Home
  • Java Tutorial
  • Language
  • Data Type
  • Operators
  • Statement Control
  • Class Definition
  • Development
  • Reflection
  • Regular Expressions
  • Collections
  • Thread
  • File
  • Generics
  • I18N
  • Swing
  • Swing Event
  • 2D Graphics
  • SWT
  • SWT 2D Graphics
  • Network
  • Database
  • Hibernate
  • JPA
  • JSP
  • JSTL
  • Servlet
  • Web Services SOA
  • EJB3
  • Spring
  • PDF
  • Email
  • J2ME
  • J2EE Application
  • XML
  • Design Pattern
  • Log
  • Security
  • Apache Common
  • Ant
  • JUnit

Inheritance « JPA « Java Tutorial






  1. Java Tutorial
  2. JPA
  3. Inheritance
22.16.Inheritance
22.16.1.Persist subclass
22.16.2.Three Leve Entity Hierarchy
22.16.3.Set Discriminator Value In Subclass
22.16.4.Mark Discriminator Column For Entities In Hierarchy
22.16.5.Mark Abstract Entity With Inheritance
22.16.6.Inheritance Type TABLE_PER_CLASS
22.16.7.Inheritance Type JOINED
22.16.8.Discriminator Type: INTEGER
22.16.9.Discriminator Column And Discriminator Value








22.16.10.Change Inheritance Type
22.16.11.Add Properties In Abstract Entity
22.16.12.Adding Properties To SubClasses
22.16.13.Abstract Class As Mapped Superclass

java2s.com  | © Demo Source and Support. All rights reserved.