optimistic locking
optimistic locking
HOW CAN I USE THE optimistic locking IN ORACLE??
optimistic locking
sorry i don´t understand you. you say that "lmDelayed" LockMode is for the optimistic locking???
Yes, lmLockDelayed is used for optimistic locking. In that case dataset executes SELECT FOR UPDATE NO WAIT query just before posting changes to be sure that the record is not locked.
Also you should set CheckMode property to cmException. In that case the dataset checks if the record wasn't changed by another user, otherwise it generates an exception.
Also you should set CheckMode property to cmException. In that case the dataset checks if the record wasn't changed by another user, otherwise it generates an exception.