天天看点

hibernate配置注意事项

1:多对一配置 

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

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