Machine-translated by Google. Questions are authored in English.
Top

Discussion

A relationship should be specified how in the ODL?

  • A.One direction starting with the first class
  • B.One direction starting with the second class
  • C.Neither direction.
  • D.Both directions.

Answer: D

Correct answer: Both directions.

The ODMG model requires each relationship to be declared at both ends, each naming the other through the inverse keyword. The database is then responsible for referential integrity in both directions, so a link cannot exist at one end without existing at the other.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.