Revision 3e8514a9
Added by Katja Luther over 9 years ago
cdm-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/out/PesiTaxonExport.java | ||
---|---|---|
488 | 488 |
if (list == null ) { |
489 | 489 |
logger.info("No " + pluralString + " left to fetch."); |
490 | 490 |
} |
491 |
|
|
491 |
list = null; |
|
492 | 492 |
// Commit transaction |
493 | 493 |
commitTransaction(txStatus); |
494 | 494 |
|
... | ... | |
510 | 510 |
" VALUES (" + biotaId + ", 0, 0, 'Superdomain', 'Biota', 'Biota', '<i>Biota</i>', 'Biota', '<i>Biota</i>', 1 , 'accepted')"; |
511 | 511 |
state.getConfig().getDestination().update(sqlInsertBiota); |
512 | 512 |
} |
513 |
rs = null; |
|
513 | 514 |
} catch (SQLException e) { |
514 | 515 |
logger.warn ("Biota could not be requested or inserted"); |
515 | 516 |
} |
517 |
|
|
516 | 518 |
} |
517 | 519 |
|
518 | 520 |
// 4th round: Add TreeIndex to each taxon |
... | ... | |
1033 | 1035 |
logger.error("TaxonCount could not be determined: " + e.getMessage()); |
1034 | 1036 |
e.printStackTrace(); |
1035 | 1037 |
} |
1038 |
resultSet = null; |
|
1036 | 1039 |
return result; |
1037 | 1040 |
} |
1038 | 1041 |
|
Also available in: Unified diff