public Set<CPBid> getBids() {
return Collections.unmodifiableSet(bids);
}
SuppressWarnings("unused")
private void setBids(Set<CPBid> bids) {
this.bids = bids;
}
把set设置成private
关于hibernate中使用all-delete-orphan的用法
猜你喜欢
转载自nddjava.iteye.com/blog/1489669
今日推荐
周排行