I am having trouble deleting data.  I am getting an update on a child when I 
try and do a remove on its parent.  I did a oneToMany mapping in the Parent 
witha fetch = fetchtype.eager and cascade type = cascade.all.

I do not use mappedby and the child does not have a parent attribute in it.  

Any ideas as to why hibernate is trying to update the child's primary keys to 
null and stead of the delete?

ab

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947875#3947875

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947875


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to