nerdexam
Oracle

1Z0-898 · Question #64

Which cascade option can be specified in a mapping descriptor so that it applies to all relationships in a persistent e unit?

The correct answer is D. cascade-persist. The cascade-persist subelement applies to all relationships in the persistence unit. Specifying this subelement adds the cascade persist option to all relationships in addition to any settings specified in annotations or XML.

Entity Relationships

Question

Which cascade option can be specified in a mapping descriptor so that it applies to all relationships in a persistent e unit?

Options

  • Acascade all
  • Bcascade detach
  • Ccascade remove
  • Dcascade-persist

How the community answered

(22 responses)
  • A
    5% (1)
  • B
    9% (2)
  • C
    5% (1)
  • D
    82% (18)

Explanation

The cascade-persist subelement applies to all relationships in the persistence unit. Specifying this subelement adds the cascade persist option to all relationships in addition to any settings specified in annotations or XML.

Topics

#cascade-persist#mapping descriptor#cascade types#persistence unit

Community Discussion

No community discussion yet for this question.

Full 1Z0-898 Practice