You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After optimistic locking is enabled, whenever a commit is executed, the Mendix runtime will automatically ensure that the object that is committed was not already changed by another party after the committer read the object.
33
+
After optimistic locking is enabled, whenever a commit is executed, the Mendix runtime will automatically ensure that the object that is committed was not already changed by another party after the committer retrieved the object.
34
34
35
35
### New Projects and Migration
36
36
37
37
In case an existing app already had the `MxObjectVersion` attribute, when optimistic locking is enabled a duplicate attribute will be reported in the Modeler. This must be fixed by renaming the existing attribute to another name. The system attribute cannot be renamed.
38
38
39
39
### Behavior
40
40
41
-
Here we describe how various runtime actions are influenced by optimistic locking:
41
+
The following runtime actions are influenced by optimistic locking:
42
42
43
43
#### Create Object
44
44
@@ -50,7 +50,7 @@ When the `MxObjectVersion` attribute in the object being committed is different
50
50
51
51
#### Delete Object
52
52
53
-
When the `MxObjectVersion` attribute in the object being deleted is different from the value in the database, throw a `ConcurrentModificationRuntimeException`. Otherwise, proceed with the delete. If the object was already deleted, no error occurs, as is the case without optimistic locking.
53
+
When the `MxObjectVersion` attribute in the object being deleted is different from the value in the database, throw a `ConcurrentModificationRuntimeException`. Otherwise, proceed with the delete. If the object was already deleted, no error occurs.
54
54
55
55
## Performance Impact
56
56
@@ -93,11 +93,11 @@ If the optimistic locking error is propagated to the client, then an error dialo
0 commit comments