@OneToMany和@ManyToOne和@JoinColumn注解
1.使用示例
@OneToMany(fetch = FetchType.LAZY, mappedBy = "accRepaymentPlan",cascade={CascadeType.ALL})
@OrderBy("periodNum asc")
private List<RepaymentPlanPeriod> accRepaymentPlanPeriods = new A...
转载
2019-06-12 15:45:37 ·
4267 阅读 ·
1 评论