5354555657585960
public void update(T t) throws UnableToSaveException { try { getHibernateTemplate().update(t); session.getTransaction().commit(); } catch (HibernateException e) { throw new UnableToSaveException(e); } }
6263646566676869
public void save(T t) throws UnableToSaveException { try { getHibernateTemplate().save(t); session.getTransaction().commit(); } catch (HibernateException e) { throw new UnableToSaveException(e); } }