hibernate注解多字段查询
hibernate注解多字段查询
@OneToOne(cascade = CascadeType.REFRESH, targetEntity = (所要操作的表名).class)
@JoinColumnsOrFormulas(value={@JoinColumnOrFormula(column=@JoinColumn(name ="a1", referencedColumnName ="A1
原创
2016-04-21 16:37:24 ·
822 阅读 ·
0 评论