01 Introoduction - christyjohn/Microservices_SpringBoot_Udemy GitHub Wiki
Spring Data JPA Entities & Repositories
@MappedSuperClass
Annotation on the BaseEntity which serves as the super class for all the other entities.
@Column(updatable = false)- no need to update the column. If field name is same as column name, no need to mention it.@Column(insertable = false)- no need to update this, when the field is created first time.