...
Operations | "Data" handler | "Error" handler |
---|---|---|
Update | discard | retry | overwrite | pause | abort | newer | older | sql | plsql | error | discard | retry | overwrite | pause | abort | plsql | error |
Delete | discard | retry | overwrite | pause | abort | newer | older | sql | plsql | error | discard | retry | overwrite | pause | abort | plsql | error |
Insert | n/a | discard | retry | overwrite | pause | abort | plsql | error |
Transaction | n/a | discard | retry | overwrite | pause | abort | plsql | error |
The transaction handler is used for DDL, commits etc.
The "Data" handler is used only once for a conflict – if using this handler leads to a conflict again, "Error" handler is used for the next attempt. For the next change SQL, the Data conflict will be used again.
Additionally, logging may be specified:
...
Example setting a conflict handler on a table:
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
To show what the conflict handler has been set to:
Section | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|