@ -51,6 +51,7 @@ public class UserManagementImpl implements UserManagement {
userRepository.save(user);
userRepository.save(user);
}
}
}
}
}
----
----
The preceding example causes calls to `addRoleToAllUsers(…)` to run inside a transaction (participating in an existing one or creating a new one if none are already running).
The preceding example causes calls to `addRoleToAllUsers(…)` to run inside a transaction (participating in an existing one or creating a new one if none are already running).