hibernate/hibernate-orm — pull request #516 by beikov (2013-04-26 13:11:05+00:00)
Title: Give a better message about where a problem with a mapping could be.

When having @JoinColumn in a @CollectionTable that do not point to valid columns, the message can be really confusing. These new lines will actually enrich the exception which is thrown that the problem appeared on a specific property of a specific class.

Please include this, since it is not always clear what the actual problem is with a mapping when an exception occurs.