Forums Register Login

Doubts over cascade xml mapping

+Pie Number of slices to send: Send
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?
+Pie Number of slices to send: Send
As far as I remember, it should be <cascade-all>
Not sure whether the other one works.
+Pie Number of slices to send: Send
 

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



Thank you
Whose rules are you playing by? This tiny ad doesn't respect those rules:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 979 times.
Similar Threads
Difference between delete and orphan-delete
Hibernate ClassCastException
How to specify relationship in mapping file
Cascade Issue
Hibernate Cascade
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 19, 2024 02:13:40.