[hibernate-commits] [hibernate/hibernate-orm] f8d853: HHH-8831 improved exception message

GitHub noreply at github.com
Thu Jan 9 13:19:09 EST 2014


  Branch: refs/heads/4.3
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: f8d853bdc19080235f9c8c6eaf3834c75f2199d1
      https://github.com/hibernate/hibernate-orm/commit/f8d853bdc19080235f9c8c6eaf3834c75f2199d1
  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: bd0892a87d3646517438bdc8315c6a17e946c326
      https://github.com/hibernate/hibernate-orm/commit/bd0892a87d3646517438bdc8315c6a17e946c326
  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/770a1cb32fef...bd0892a87d36


More information about the hibernate-commits mailing list