Databases Reference
In-Depth Information
The Precision and Mandatory atribute validaions are added, by default,
to the atributes from the column deiniion in the underlying database
table. We can only set the display message for the validaion.
The following diagram explains that the validaion is happening on the atributes in the
second row:
EMP table
Entity Attributes
st
3 rd
Row
1
Row
nd
2 ow
Empno
Ename
Job
Sal
validations
There can be any number of validaions deined on a single atribute or on muliple
atributes in an enity. In the diagram, Empno has a validaion that is diferent from the
validaion deined for Ename . Validaion for the Job atribute is diferent from that for
the Sal atribute. Similarly, we can deine validaions for atributes in the enity object.
Transaction-level validation
Transacion-level validaions are done ater all enity-level validaions are completed. If you
want to add any kind of validaion at the end of the process, you can defer the validaion to
the transacion level to ensure that the validaion is performed only once.
 
Search WWH ::




Custom Search