@ -30,7 +30,7 @@ public class RequirementBase extends BaseData {
private Date reqDate;
@Column(name = "DESCRIPTION")
private String description;
@ManyToOne(fetch = FetchType.LAZY)
@ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "CENTRE_ID")
private Workgroup centre;
@ -21,7 +21,7 @@ public class RequirementSubpage<T extends RequirementBase> extends ListViewModel
}
@Command
@NotifyChange("dataBean")
@NotifyChange({"dataBean", "canApprove"})
public void approve() {
this.getReqService().approve(getDataBean());