jpa Joined Inheritance strategy


@InheritanceSpecifies type of inheritance strategy used
@DiscriminatorColumnSpecifies a column in database which will be used to identify different entities based on certain ID assigned to each entity
@MappedSuperClassmapped super classes are not persistent and only used to hold state for its subclasses. Generally abstract java classes are marked with @MapperSuperClass