Revision c53e35a3
Added by Andreas Müller almost 7 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/DefinedTermBase.java | ||
---|---|---|
158 | 158 |
@XmlIDREF |
159 | 159 |
@XmlSchemaType(name = "IDREF") |
160 | 160 |
@ManyToOne(fetch=FetchType.LAZY) |
161 |
@Cascade({CascadeType.SAVE_UPDATE,CascadeType.MERGE})
|
|
161 |
// @Cascade({CascadeType.SAVE_UPDATE,CascadeType.MERGE}) remove cascading #5754
|
|
162 | 162 |
protected TermVocabulary<T> vocabulary; |
163 | 163 |
|
164 |
//the unique iedentifier/name this term uses in its given vocabulary #3479 |
|
165 |
//open issues: is null allowed? If not, implement unique constraint |
|
166 |
|
|
164 |
//the unique iedentifier/name this term uses in its given vocabulary #3479 |
|
167 | 165 |
@XmlElement(name = "idInVocabulary") |
168 | 166 |
@Column(length=255) |
169 | 167 |
//TODO Val #3379, #4245 |
Also available in: Unified diff
Remove cascade from term to vocabulary #5754