in reply to Preventing Duplicates
Basically I see 2 main approaches to prevent it:
Oracle appears to use yet another mechanism in their Web-PL/SQL system (as generated by Oracle Designer), in particular for updates: they add the previous values for record fields as hidden form variables, and check if these values are still the current values at the moment of the update. If not, it'll complain and refuse to do the update. That way, you cannot overwrite other people's changes by accident. Not a bad idea, IMO. (What I do find a bit odd is the name they give to this mechanism: "record locking".)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Preventing Duplicates
by andreas1234567 (Vicar) on Mar 26, 2008 at 13:21 UTC | |
by bart (Canon) on Mar 26, 2008 at 13:33 UTC |