Revision 2638be38
Added by Andreas Müller over 8 years ago
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/application/FirstDataInserterTest.java | ||
---|---|---|
76 | 76 |
public void testInsertData(){ |
77 | 77 |
commitAndStartNewTransaction(null); |
78 | 78 |
TaxonGenerator.getTestTaxon(); |
79 |
Taxon newTaxon = TaxonGenerator.getTestTaxon();
|
|
79 |
Taxon newTaxon = TaxonGenerator.getTestTaxon(); |
|
80 | 80 |
UUID taxonUUID = taxonService.save(newTaxon).getUuid(); |
81 | 81 |
|
82 |
|
|
83 | 82 |
TaxonDescription description = TaxonGenerator.getTestDescription(1); |
84 | 83 |
newTaxon.addDescription(description); |
85 | 84 |
Set<TaxonDescription> descriptions = newTaxon.getDescriptions(); |
Also available in: Unified diff
migrate to hibernate 5 for cdmlib-services and cdmlib-ext #4716