}
}
final HibernateTemplate hibernateTemplate = getHibernateTemplate();
try {
hibernateTemplate.deleteAll(listObj);
hibernateTemplate.flush();
} catch (final HibernateOptimisticLockingFailureException holfe) {
throw new JournalException(Messages.Error.JE_OBJ_MISS_ERR, holfe);
} catch (final DataIntegrityViolationException exception) {
throw new JournalException(exception.getMessage(), exception.getCause().getCause());//NOPMD Wrap internal exception with client exception.