Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CASCADE=REMOVE on relationship

 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the WhizLabs diagnostic exam, question 28,
WhizLabs wrote:The CASCADE=REMOVE should be applied to only One-To-One or One-To-Many relationships.


Is this correct? I didn't see this elsewhere.
 
Raf Szczypiorski
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Specs, page 24, the very bottom:

The relationship modeling annotation constrains the use of the cascade=REMOVE specification. The
cascade=REMOVE specification should only be applied to associations that are specified as One-
ToOne or OneToMany. Applications that apply cascade=REMOVE to other associations are not por-
table.
 
Treimin Clark
Ranch Hand
Posts: 757
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh! Thank you Raf.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic