6篇文章 · 1160字 · 0人关注
1、内嵌类型 @Embeddable 描述映射类型本身@Embedded 引用给定的可嵌入类型 一个Entity中映射多个相同的内嵌类型时,需要...
1、 Identifiers UNIQUE:每行唯一NOT NULL:IMMUTABLE:once inserted, can never be...
@Cascade CascadeType.MERGE级联更新:若items属性修改了那么order对象保存时同时修改items里的对象。对应En...
1、如果想要强制性的决定entity中字段的数据类型@org.hibernate.annotations.Type( type = "nstri...
@Entity(name = "Event")public static class Event { } @ValueGenerationTyp...
相比于@where,filter可以在runtime的时候customized条件public enum AccountType {DEBIT,...
文集作者