Hi
Can anybody tell me if its ok to use cascade delete with BMP entities?
i.e. will it be ok to use the following sql.     

FOREIGN KEY(id) REFERENCES mytable ON DELETE CASCADE

For the record, mytable is used by another (BMP)entity bean in a 1-many 
relationship, however it contains a large number of records and would be (in my 
limited experience) too in-efficient to delete using the ejbRemove methods on 
the beans.
Any help would be greatly appreciated.
Thanks in advance,
Gareth.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to