next up previous contents
Next: End-dating Up: Adding constraints Previous: Adding constraints   Contents

Referential constraints

are used to guarantee that if a User works at ``company_oid=7'' that in the Company table there is a row which has ``oid=7''. These are automatically added on schema generation, however the names default to a mix of the class and field name. Instead one can give better names by using the 'constraint-name' attribute, but no entry is required in the 'constraint' attribute.



2002-03-05