天天看點

hibernate配置注意事項

1:多對一配置 

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

private HashSet<DrawRecordModel> cjrecordsSet = new HashSet<DrawRecordModel>();錯誤