mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-12-22 19:33:48 +01:00
Add flush to commit changes.
This commit is contained in:
parent
fad7442ffc
commit
bea7bea486
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user