光辉飞翔

导航

 

 @OneToMany(fetch = FetchType.EAGER, targetEntity = DocConstraint.class, cascade={CascadeType.REMOVE}, mappedBy = "docid")
 public List<DocConstraint> getConstraintList() {
  return constraintList;
 }
 public void setConstraintList(List<DocConstraint> constraintList) {
  this.constraintList = constraintList;
 }

-------------------------------------------------------------

 @ManyToOne  

@JoinColumn(name = "FAPPPERSON", nullable = true, insertable = true, updatable = true)  

public Access getFappperson() {   return this.fappperson;  }

 public void setFappperson(Access value) {   this.fappperson = value;  }

 

posted on 2012-11-02 14:42  光辉飞翔  阅读(397)  评论(0编辑  收藏  举报