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
This entry was posted
on Thursday, January 21st, 2010 at 16:52 and is filed under Yazılım.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
Cevap veya Yorum Yaz