No rule selected
G-8410 – Always use application locks to ensure a program unit is only running once at a given time.
This technique allows us to have locks across transactions as well as a proven way to clean up at the end of the session. The alternative using a table where a “Lock-Row” is stored has the disadvantage that in case of an error a proper cleanup has to be done to "unlock" the program unit.
Tags: Pattern.
Quality area: Reliability. Severity: Blocker. Fixing time: Local-high.
← Previous
G-8310
Always validate input parameter size by assigning the parameter to a size limited variable in the declaration section of program unit.
Next →
Press p or n to quickly navigate to the previous/next rule.
