hinbernate’te annotation kullanarak inheritance
bir superclass kullanarak bazı standart özellikleri eklemek için bir örnek
@MappedSuperclass
public class Base {
@Column(name="AKTIFMI")
private boolean aktifmi;
}
@Entity class Kayit extends BaseEntity {
...
}
Tags: extend, Hibernate, Inheritance, Java, MappedSuperclass