Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix 1.5.10 #418

Merged
merged 9 commits into from
Oct 9, 2024
Prev Previous commit
Next Next commit
Remove ALL cascade on GeneInfo.orthologs
arteymix committed Oct 8, 2024
commit 2bfde1aa18dbfcf863138ff3794e756d48a62848
2 changes: 1 addition & 1 deletion src/main/java/ubc/pavlab/rdp/model/GeneInfo.java
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@ public static Comparator<GeneInfo> getComparator() {
@JsonIgnore
private Integer id;

@ManyToMany(cascade = CascadeType.ALL)
@ManyToMany
@JoinTable(name = "ortholog",
joinColumns = @JoinColumn(name = "source_gene"),
inverseJoinColumns = @JoinColumn(name = "target_gene"))