Skip to content

Commit

Permalink
Fixed errors
Browse files Browse the repository at this point in the history
  • Loading branch information
oblodgett committed Jan 8, 2024
1 parent e96cb7e commit f8a6218
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ public abstract class DiseaseAnnotation extends Annotation {
@IndexedEmbedded(includeDepth = 1)
@IndexingDependency(reindexOnUpdate = ReindexOnUpdate.SHALLOW)
@ManyToOne
@Fetch(FetchMode.SELECT)
@JsonView({ View.FieldsOnly.class, View.ForPublic.class })
private DOTerm object;

Expand All @@ -90,7 +89,6 @@ public abstract class DiseaseAnnotation extends Annotation {
@IndexedEmbedded(includeDepth = 2)
@IndexingDependency(reindexOnUpdate = ReindexOnUpdate.SHALLOW)
@ManyToMany
@Fetch(FetchMode.SELECT)
@JoinTable(indexes = { @Index(columnList = "diseaseannotation_id"), @Index(columnList = "with_curie") })
@JsonView({ View.FieldsAndLists.class, View.DiseaseAnnotation.class, View.ForPublic.class })
private List<Gene> with;
Expand All @@ -117,15 +115,13 @@ public abstract class DiseaseAnnotation extends Annotation {
@IndexedEmbedded(includeDepth = 2)
@IndexingDependency(reindexOnUpdate = ReindexOnUpdate.SHALLOW)
@ManyToOne
@Fetch(FetchMode.SELECT)
@JsonView({ View.FieldsOnly.class, View.ForPublic.class })
private DataProvider secondaryDataProvider;

@IndexedEmbedded(includeDepth = 1)
@IndexingDependency(reindexOnUpdate = ReindexOnUpdate.SHALLOW)
@ManyToMany

@Fetch(FetchMode.SELECT)
@JsonView({ View.FieldsAndLists.class, View.DiseaseAnnotation.class, View.ForPublic.class })
@JoinTable(indexes = { @Index(columnList = "diseaseannotation_id"), @Index(columnList = "diseasegeneticmodifiers_curie")})
private List<BiologicalEntity> diseaseGeneticModifiers;
Expand Down

0 comments on commit f8a6218

Please sign in to comment.