I have two  CMP entities, which are mapped to a mysql schema:

1.Entity: 

@Table
Order.java

2. Entity:

@Table
OrderItem.java

The Order Entity has a field with a @OneToMany Realtion.

I am trying to use the jboss - ejb3.0- cascade delete  function, to delete the 
orderItems, when an order object is deleted, but it dosent work!

I found an older posting, in which one said, that not every database supports 
"cascade delete". 
Was he right?




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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to