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 {
    ...
}
Bookmark and Share
Tags: , , , ,

Related posts