jQuery in Action, 2nd edition*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Doubts over cascade xml mapping Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Doubts over cascade xml mapping" Watch "Doubts over cascade xml mapping" New topic
Author

Doubts over cascade xml mapping

Yucca Nel
Ranch Hand

Joined: Nov 20, 2008
Posts: 147

Hi all. I am reading EJB 3.0 in preparation for SCBCD. one of the xml annotations has caught my eye and I am uncertain of the correct way to annotate cascading in entity relationships in xml. One example in the book uses <cascade>ALL</cascade> and another uses <cascade-all/> Can I use both or is there a standard? What about the other types of cascading?


SCJP 6.0, SCJD (400/400), SCBCD for JEE 5, SCWCD 1.4 I do videos for development at
http://www.youtube.com/user/thejartender?feature=mhee
I am probably the only developer ever to have had an orange sized brain tumor in my brain while learning development!!
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3051
    
  36

As far as I remember, it should be <cascade-all>
Not sure whether the other one works.


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Yucca Nel
Ranch Hand

Joined: Nov 20, 2008
Posts: 147

Devaka Cooray wrote:As far as I remember, it should be <cascade-all>
Not sure whether the other one works.


Thank you
 
 
subject: Doubts over cascade xml mapping