21
Jan

hinbernate’te annotation kullanarak inheritance

   Posted by: Muhammed YÜRÜRDURMAZ   in Yazılım

bir superclass kullanarak bazı standart özellikleri eklemek için bir örnek

@
public class Base {
    @Column(name="AKTIFMI")
    private boolean aktifmi;
}
@Entity class Kayit extends BaseEntity {
    ...
}
Bookmark and Share
Tags: , , , ,

Tags: , , , ,

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

İsminiz
e-Mail (Burada yayınlanmayacak endişelenmeyin)
Web Siteniz
Yorumunuz

Switch to our mobile site