This is similar to the question here:
Best practice for working with Foreign key fields
but I'm wondering whether there is any way to automatically enforce this kind of logic. When I perist a new record in the "many" table, that has a foreign key in "one" table, I'd like hibernate to automatically load the referenced entity and check that it exists, and access that entity's fields (for validation purposes).
Any way to do this just through annotations?