mirror of
https://bitbucket.org/wisemapping/wisemapping-open-source.git
synced 2024-11-21 21:57:56 +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