This commit is contained in:
Gianpaolo Coro 2012-09-28 18:08:56 +00:00
parent 0251334f20
commit 8c195c4b9b
3 changed files with 8 additions and 0 deletions

View File

@ -117,7 +117,9 @@ public class OccurrencePointsDuplicatesDeleter extends OccurrencePointsMerger{
AnalysisLogger.getLogger().trace("Taking Table Description");
AnalysisLogger.getLogger().trace("Creating final table: " + finalTableName);
// create new merged table
try{
DatabaseFactory.executeSQLUpdate(DatabaseUtils.dropTableStatement(finalTableName), dbconnection);
}catch(Exception e1){}
AnalysisLogger.getLogger().trace("Preparing table: " + finalTableName);
prepareFinalTable();
AnalysisLogger.getLogger().trace("Extracting columns from: " + finalTableName);

View File

@ -84,7 +84,9 @@ public class OccurrencePointsInSeaOnEarth extends OccurrencePointsMerger{
AnalysisLogger.getLogger().trace("Taking Table Description");
AnalysisLogger.getLogger().trace("Creating merged table: " + finalTableName);
// create new merged table
try{
DatabaseFactory.executeSQLUpdate(DatabaseUtils.dropTableStatement(finalTableName), dbconnection);
}catch(Exception e1){}
// prepareFinalTable();
status = 10;
String generationquery = "";

View File

@ -451,7 +451,11 @@ public class OccurrencePointsMerger implements Transducerer {
AnalysisLogger.getLogger().trace("Taken Table Description: " + columns);
AnalysisLogger.getLogger().trace("Creating final table: " + finalTableName);
// create new merged table
try{
DatabaseFactory.executeSQLUpdate(DatabaseUtils.dropTableStatement(finalTableName), dbconnection);
}catch(Exception e1){
}
prepareFinalTable();
// take the elements from sx table
AnalysisLogger.getLogger().trace("Taking elements from left table: " + leftTableName);