Skip to content

Commit

Permalink
Retracts previous change. It causes heap problem (possibly).
Browse files Browse the repository at this point in the history
  • Loading branch information
vgregion committed Jan 29, 2024
1 parent dc5a15e commit e4daa8d
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ public class Ssk implements Comparable<Ssk> {
@Column
private Boolean showCareBurden;

/*
@OneToMany(mappedBy = "ssk", fetch = FetchType.LAZY)
private List<Bed> beds;
*/

public Ssk() {
}
Expand Down Expand Up @@ -69,18 +71,18 @@ public void setShowCareBurden(Boolean showCareBurden) {
this.showCareBurden = showCareBurden;
}

public List<Bed> getBeds() {
/* public List<Bed> getBeds() {
return beds;
}
public void setBeds(List<Bed> beds) {
this.beds = beds;
}
}*/

@PreRemove
/*@PreRemove
public void decoupleBeds() {
for (Bed bed : getBeds()) {
bed.setSsk(null);
}
}
}*/
}

0 comments on commit e4daa8d

Please sign in to comment.