注解map的方式
@ElementCollection
@JoinTable(name="document_otherPops",joinColumns={@JoinColumn(name="documentId")})
public Map<String,JavaType> getOtherProps() {
return otherProps;
}
发布时间: 2012-08-29 08:40:14 作者: rapoo
注解map的方式
@ElementCollection
@JoinTable(name="document_otherPops",joinColumns={@JoinColumn(name="documentId")})
public Map<String,JavaType> getOtherProps() {
return otherProps;
}