Hrm.  Should we have some in-database relationship between the entities here?  Otherwise we end up having to emulate that by hand -- with all the risks that come from database constraints in the application only.