new OptimisticLocking(updateFields, createFields)
Manages auto fill of locking purposed fields and evaluates filter for optimistic locking for update
In his basic implementation accept a list of fields to fill. Values for filling are taken from
environment.
Parameters:
Name | Type | Description |
---|---|---|
updateFields |
Array.<string> | Fields to fill and to check during update operations |
createFields |
Array.<string> | Fields to fill and to check during insert operations |