public void saveOrUpdateAllEntities(Collection<?> entities){
  getHibernateTemplate().saveOrUpdateAll(entities);
 }