• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubts over cascade xml mapping

 
Yucca Nel
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Devaka Cooray
ExamLab Creator
Marshal
Pie
Posts: 4124
198
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I remember, it should be <cascade-all>
Not sure whether the other one works.
 
Yucca Nel
Ranch Hand
Posts: 147
IntelliJ IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Devaka Cooray wrote:As far as I remember, it should be <cascade-all>
Not sure whether the other one works.


Thank you
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic