Hibernate Associations: targetEntity
Hibernate provides quite a lot of power and features when it comes to mapping domain objects to relational tables. However, if used incorrectly, some of these nasty (in a good way, of course) little features could drive you crazy in a the rush of work.