Jakarta Persistence (JPA) Method
IdentifiableType<? super X> getSupertype()
Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass.
- Returns:
- supertype of identifiable type or null if no such supertype.
- Since:
- Jakarta Persistence (JPA) 1.0