if (LOGGER.isDebugEnabled()) {
LOGGER.debug("saving objects... ");
}
for (AbstractDomainObject object : objects) {
GenericDao dao = daoFactory.getDao(object.getClass());
dao.merge(object);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("save object " + object);
}
}
}