I have 2 CMP beans Candidate and Country. The candidate table has a foreign key
country_id with "on delete restrict" set. However when I delete an entry (using
the entity bean remove() method) from the country table, the respective foreign
key in candidate is set to null and the country is delet
Hi.
Unfortunately i did not receive any answers to the question about referential
integrity i had posted more than week ago
(http://www.jboss.org/index.html?module=bb&op=viewtopic&t=60776). The matter is
in making it impossible to delete an entity bean instance while it is
referenced from
Hi.
What is the preferred way to achieve referential integrity without making
columns in db annullable? I.e. i wan't to prohibit deletion of an entity if
there is even nullable reference to it. I know that ejb spec says that an
object should d be removed from all relations before deletion, but