Hi.
What is the preferred way to achieve referential integrity without making columns in db nullable? 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 be removed from all relations before deletion, but maybe i miss something? Making checks in every ejbRemove is too tedious and errorprone...
thanx