When a process writes to the database, it typically takes its values from the session state. Consequently, an application developer must verify that the session state values are valid , to ensure that the process was used appropriately and to preserve the integrity of the database. This chapter examines three aspects of a valid session state—constraint preservation, input validation, and process validation—and shows you how to implement them in an APEX application.
Constraint Preservation
The integrity of a database is important. The presence of an incorrect record ...