Revision c59ecc4a
Added by Andreas Müller almost 13 years ago
cdmlib-pesi/src/main/java/eu/etaxonomy/cdm/io/pesi/erms/ErmsImportBase.java | ||
---|---|---|
87 | 87 |
this.cdmTargetClass = cdmTargetClass; |
88 | 88 |
} |
89 | 89 |
|
90 |
protected boolean doInvoke(ErmsImportState state){
|
|
90 |
protected void doInvoke(ErmsImportState state){
|
|
91 | 91 |
logger.info("start make " + getPluralString() + " ..."); |
92 |
boolean success = true ; |
|
93 | 92 |
ErmsImportConfigurator config = state.getConfig(); |
94 | 93 |
Source source = config.getSource(); |
95 | 94 |
|
... | ... | |
104 | 103 |
} |
105 | 104 |
} catch (SQLException e) { |
106 | 105 |
logger.error("SQLException:" + e); |
107 |
return false; |
|
106 |
state.setUnsuccessfull(); |
|
107 |
return; |
|
108 | 108 |
} |
109 | 109 |
|
110 |
logger.info("end make " + getPluralString() + " ... " + getSuccessString(success));
|
|
111 |
return success;
|
|
110 |
logger.info("end make " + getPluralString() + " ... " + getSuccessString(true));
|
|
111 |
return; |
|
112 | 112 |
} |
113 | 113 |
|
114 | 114 |
public boolean doPartition(ResultSetPartitioner partitioner, ErmsImportState state) { |
Also available in: Unified diff
last updates for Taxon Excel Import and moving all success variables to state