Skip to content

Commit

Permalink
undo testing em stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
iimpulse committed Mar 4, 2024
1 parent 8666143 commit d5f66e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class Translation {
@JsonIgnore
private Long id;

@ManyToOne(targetEntity = OntologyTerm.class, cascade=CascadeType.ALL)
@ManyToOne(targetEntity = OntologyTerm.class)
@JsonIgnore
private OntologyTerm term;

Expand All @@ -27,7 +27,6 @@ public class Translation {
private String name;

@Column(columnDefinition = "text")
@JsonIgnore
private String definition;

private TranslationStatus status;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ public void saveAll(List<OntologyTerm> terms){
}
this.entityManager.persist(terms.get(i));
}
this.entityManager.flush();
}

@Transactional
Expand Down

0 comments on commit d5f66e1

Please sign in to comment.