Hi there,
I have a problem with removing the EntitiyBeans associated with a child table from the container, when I remove the corresponding EntityBean from the parent table.
The relationship between the two tables has the 'On cascade delete' flag set.
One way to do it is to deleted them manually (from code). My question is : Is there some kind of settings to make the server do this for you? I work with JBoss 2.4.4 and CMP 1.1.
Thanks.
Nope. Cascade delete is supported in CMP 2.0, but only at the application server level (not at the db level). In the future it will be supported in the database for CMP 2.