表A的一个字段一对一映射表B,表B是两个字段复合key:
public class A{
@One(field ="zqdm") ---- 能支持复合key吗?
private B lh;
}
@PK(value = { "zqdm", "date"})
public class B{
@Column
private String zqdm;
@Column
private int date;
}
表A的一个字段一对一映射表B,表B是两个字段复合key:
public class A{
@One(field ="zqdm") ---- 能支持复合key吗?
private B lh;
}
@PK(value = { "zqdm", "date"})
public class B{
@Column
private String zqdm;
@Column
private int date;
}