getHibernateTemplate().evict(o);
}
public void softDelete(Object o, String lastModifiedBy){
if(o instanceof MyAlumniBaseVO){
MyAlumniBaseVO obj = (MyAlumniBaseVO) o;
obj.setLastModification(BaseConstants.SOFT_DELETED);
obj.setLastModifiedBy(lastModifiedBy);
obj.setLastModifiedDate(new Date());
}
getHibernateTemplate().update(o);
getHibernateTemplate().flush();
getHibernateTemplate().evict(o);