hibernate配置注意事项

1:多对一配置 

private Set<DrawRecordModel> cjrecordsSet = new HashSet<DrawRecordModel>(); 正确

private HashSet<DrawRecordModel> cjrecordsSet = new HashSet<DrawRecordModel>();错误

posted @ 2017-02-24 13:14  洞玄巅峰  阅读(113)  评论(0编辑  收藏  举报