@Transactional public void saveOrUpdateUser(User user) { userDAO.saveOrUpdateUser(user); }
@Transactional public void updatePassword(User user, String password) { user.setPassword(createHash(password)); userDAO.saveOrUpdateUser(user); }