When Exercise with ExerciseSet with generated setId is saved to the DB if you use updateSet query and the ExerciseSet is not in the DB it will not be updated/saved. This is avoided by using save/insert query but this may cause duplicate entries with different setIds and same setNumber.
When Exercise with ExerciseSet with generated setId is saved to the DB if you use updateSet query and the ExerciseSet is not in the DB it will not be updated/saved. This is avoided by using save/insert query but this may cause duplicate entries with different setIds and same setNumber.