Revision bb0ac5d5
Added by Andreas Müller about 5 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/RelationshipTermBase.java | ||
---|---|---|
79 | 79 |
@XmlElementWrapper(name = "InverseRepresentations") |
80 | 80 |
@XmlElement(name = "Representation") |
81 | 81 |
@OneToMany(fetch = FetchType.EAGER, orphanRemoval=true) //eager loading same as TermBase.representations |
82 |
@JoinTable(name="DefinedTermBase_InverseRepresentation", |
|
82 |
@JoinTable(name="DefinedTermBase_InverseRepresentation", //see also Feature.inverseRepresentations
|
|
83 | 83 |
joinColumns=@JoinColumn(name="DefinedTermBase_id") |
84 | 84 |
// inverseJoinColumns |
85 | 85 |
) |
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/description/Feature.java | ||
---|---|---|
146 | 146 |
@XmlElementWrapper(name = "InverseRepresentations") |
147 | 147 |
@XmlElement(name = "Representation") |
148 | 148 |
@OneToMany(fetch = FetchType.LAZY, orphanRemoval=true) |
149 |
@JoinTable(name="DefinedTermBase_InverseRepresentation", |
|
149 |
@JoinTable(name="DefinedTermBase_InverseRepresentation", //see also RelationshipTermBase.inverseRepresentations
|
|
150 | 150 |
joinColumns=@JoinColumn(name="DefinedTermBase_id") |
151 | 151 |
// inverseJoinColumns |
152 | 152 |
) |
Also available in: Unified diff
add comment to x.inverseRepresentations