Card 3 / 18: What is TRUE about the cascading and cascade mode attributes in Entity Beans?
A)
Cascade mode attributes can be specified for the association annotaions (like @OneToMany) in an entity bean
B)
The cascading direction is from the target entity to the source entity
C)
PERSIST, DELETE and REFRESH are cascading mode attributes
D)
Refresh cascade causes to refresh the target entities of a relationship when refresh is invoked on the source entity of the relationship
Answer:
A) Cascade mode attributes can be specified for the association annotaions (like @OneToMany) in an entity bean
D) Refresh cascade causes to refresh the target entities of a relationship when refresh is invoked on the source entity of the relationship
Previous Card | ← Previous Card Button |
Next Card | → Next Card Button |
Flip Card | Space-Bar |
The cascade attributes are : PERSIST, MERGE, REMOVE, REFRESH and ALL
|