Add flush to commit changes.
This commit is contained in:
@@ -123,6 +123,7 @@ public class UserManagerImpl
|
||||
final HibernateTemplate template = getHibernateTemplate();
|
||||
collaborations.forEach(c -> template.delete(c));
|
||||
template.delete(collaborator);
|
||||
template.flush();
|
||||
|
||||
// Save all new...
|
||||
this.createUser(user);
|
||||
|
Reference in New Issue
Block a user