Revision 2d481abb
Added by Katja Luther almost 10 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/faunaEuropaea/FaunaEuropaeaDistributionImport.java | ||
---|---|---|
221 | 221 |
e.printStackTrace(); |
222 | 222 |
} |
223 | 223 |
} |
224 |
rs = null; |
|
224 | 225 |
} catch (SQLException e) { |
225 | 226 |
logger.error("SQLException:" + e); |
226 | 227 |
state.setUnsuccessfull(); |
227 | 228 |
} |
229 |
|
|
228 | 230 |
if(logger.isInfoEnabled()) { logger.info("End making distributions..."); } |
229 | 231 |
|
230 | 232 |
return; |
... | ... | |
238 | 240 |
List<TaxonBase> taxonList = prepareTaxaAndDistribution(getTaxonService().find(taxonUuids), fauEuTaxonMap, noDataUuid, state); |
239 | 241 |
|
240 | 242 |
getTaxonService().save(taxonList); |
243 |
taxonList = null; |
|
244 |
taxonUuids = null; |
|
245 |
fauEuTaxonMap = null; |
|
241 | 246 |
commitTransaction(txStatus); |
242 | 247 |
|
243 | 248 |
} |
Also available in: Unified diff
changes in Fauna Europeae Import and Index Fungorum Import and PESI Export