Add flush to commit changes.
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