cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", Employee.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", Project.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", Department.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", WorkPackage.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", EmployeeProjectRelation.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", EmployeeWorkPackageRelation.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", WorkPackageDependsRelation.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", Task.getTableName()));
cdb.execute(SQLFormatter.generateQuery("DELETE FROM %s", Duration.getTableName()));
} catch (SQLException ex1) {
logger.warning("Failed reading the database!", ex1);