*/
public void groupModified(Group aGroup) {
assert aGroup.getPrimaryKey() != null;
- super.merge(aGroup);
+ //super.merge(aGroup);
}
/*
return false;
}
- super.merge(aGroup);
+ //super.merge(aGroup);
return true;
}
Group group = (Group) getHibernateTemplate().merge(aGroup);
getHibernateTemplate().delete(group);
- aGroup.setPrimaryKey(null);
- aGroup.setPersistedVersion(-1);
+ // aGroup.setPrimaryKey(null);
+ // aGroup.setPersistedVersion(-1);
return true;
}
*/
public void userModified(User aUser) {
assert aUser.getPrimaryKey() != null;
- hibernateSupport.merge(aUser);
+ //hibernateSupport.merge(aUser);
cache.remove(aUser.getName());
setPasswordInfo(aUser);
cache.put(aUser.getName(), new User(aUser));
User user = (User) getHibernateTemplate().merge(aUser);
getHibernateTemplate().delete(user);
- aUser.setPersistedVersion(-1);
- aUser.setPrimaryKey(null);
+ //aUser.setPersistedVersion(-1);
+ //aUser.setPrimaryKey(null);
cache.remove(aUser.getName());
return true;