Revision 526f697c
Added by Katja Luther over 12 years ago
cdmlib-persistence/src/test/java/eu/etaxonomy/cdm/persistence/dao/hibernate/description/DescriptionDaoHibernateImplTest.java | ||
---|---|---|
226 | 226 |
List<String> propertyPaths = new ArrayList<String>(); |
227 | 227 |
propertyPaths.add("multilanguageText"); |
228 | 228 |
propertyPaths.add("media"); |
229 |
propertyPaths.add("citation"); |
|
229 |
propertyPaths.add("sources.citation");
|
|
230 | 230 |
propertyPaths.add("feature"); |
231 | 231 |
|
232 | 232 |
List<DescriptionElementBase> elements = descriptionDao.getDescriptionElements(description, null, TextData.class, null, null,propertyPaths); |
... | ... | |
336 | 336 |
this.descriptionDao.save(description); |
337 | 337 |
TaxonDescription clonedDescription = (TaxonDescription)description.clone(); |
338 | 338 |
this.descriptionDao.save(clonedDescription); |
339 |
taxonDao.save(taxon); |
|
340 |
|
|
339 | 341 |
} |
340 | 342 |
|
341 | 343 |
} |
Also available in: Unified diff