jpa Joined Inheritance strategy

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Parameters

AnnotationPurpose
@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


Got any jpa Question?