ORA-01445 with instead of trigger

You should probably use the OnApplyRecord event to override the standard lock action, and lock the record from the main table instead of the view. All other actions do not need to be overruled.

------------------
Marco Kalter
Allround Automations
 
When a uniquefield is specified, DOA use it for performing insert, update and delete record.

So can you explain why DOA use the rowid column (in the where clause of the view) for checking and locking the record ?

Thanks for your help

Best Regards
 
Actually, the UniqueFields are only used to determine the rowid after an insert. For all other applicable operations the rowid is used.

------------------
Marco Kalter
Allround Automations
 
Back
Top