on 2019 Jul 26 11:06 AM
Hi,
If a model is being updated by two different threads with different attributes. For ex one thread is called from OCC service to update the model and the other thread for example from email is trying to update the same model simultaneously. How can we ensure that both the models update their data properly without each losing others updated data in the context.
Request clarification before answering.
Please note that Models are not thread safe. If the model is being processed by multiple threads, you can synchronize access to the setters by using SessionService.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.