Commit 9c4509b7 authored by Matija Obreza's avatar Matija Obreza
Browse files

TaxonomyGenus: Eager load TaxonomyFamily

parent ce7694fc
......@@ -104,7 +104,7 @@ public class TaxonomyGenus extends CooperatorOwnedModel implements Copyable<Taxo
@Column(name = "subseries_name", length = 30)
private String subseriesName;
@ManyToOne(fetch = FetchType.LAZY, cascade = {})
@ManyToOne(fetch = FetchType.EAGER, cascade = {})
@JoinColumn(name = "taxonomy_family_id", nullable = false)
@Field(type = FieldType.Object)
@JsonIgnoreProperties({ "ownedBy", "createdBy", "modifiedBy", "typeTaxonomyGenus", "currentTaxonomyFamily", "note" })
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment