Open icemagno opened 8 years ago
Get domains in Relation entity as LAZY because every Domain have a Relation causing a loop.
@OneToMany(orphanRemoval=true, mappedBy="table", fetch = FetchType.EAGER) @Cascade(org.hibernate.annotations.CascadeType.ALL) @OrderBy("domainName ASC") private Set<Domain> domains;
Remove the "Relation table" attribute from Domain entity and use the new method "getTableName()"
Get domains in Relation entity as LAZY because every Domain have a Relation causing a loop.