if (dd == null) {
spm.addDayDimension(loDay);
dd = spm.getDayDimension(loDay);
}
MediationSummaryStatistic stat = spm.getSequenceStatDailySummary(getServer().getId(),
getSequence().getName(), getSequence().getDirection(), loDay, hiDay);
stat.setName(getSequence().getName());
stat.setTimeDimensionId(dd.getId());
stat.setServerId(getServer().getId());
stat.setDirection(getSequence().getDirection());
SummaryPersistenceManager.getInstance().addSequenceStatDailySummary(stat);
} catch (BAMException e) {
if (log.isErrorEnabled()) {
log.error("Error while running daily summary generator for sequence: " + getSequence()