[hibernate-commits] [hibernate/hibernate-orm] 3159f0: HHH-8831 improved exception message
GitHub
noreply at github.com
Thu Jan 9 13:19:05 EST 2014
Branch: refs/heads/4.2
Home: https://github.com/hibernate/hibernate-orm
Commit: 3159f046817349cdd4713785a229ef980dc29c93
https://github.com/hibernate/hibernate-orm/commit/3159f046817349cdd4713785a229ef980dc29c93
Author: Christian Beikov <christian.beikov at gmail.com>
Date: 2014-01-09 (Thu, 09 Jan 2014)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
Log Message:
-----------
HHH-8831 improved exception message
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.
Commit: d437f0d9b4cfff108b91b0d814403d38b6b03843
https://github.com/hibernate/hibernate-orm/commit/d437f0d9b4cfff108b91b0d814403d38b6b03843
Author: Brett Meyer <brett at 3riverdev.com>
Date: 2014-01-09 (Thu, 09 Jan 2014)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/CollectionBinder.java
Log Message:
-----------
HHH-8831 changed exception type, formatting
Compare: https://github.com/hibernate/hibernate-orm/compare/1f2e4f2d0a7f...d437f0d9b4cf
More information about the hibernate-commits
mailing list