[hibernate-commits] [hibernate/hibernate-ogm] df118c: OGM-1104 Properly throw an exception in GridDialec...

GitHub noreply at github.com
Fri Jun 24 03:49:23 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-ogm
  Commit: df118c368638fa33f5daddaeebb591ed95795a06
      https://github.com/hibernate/hibernate-ogm/commit/df118c368638fa33f5daddaeebb591ed95795a06
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2016-06-23 (Thu, 23 Jun 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/dialect/impl/GridDialectInitiator.java
    M core/src/main/java/org/hibernate/ogm/util/impl/Log.java
    A core/src/test/java/org/hibernate/ogm/test/boot/GridDialectInitiatorTest.java
    A core/src/test/java/org/hibernate/ogm/test/boot/InvalidGridDialect.java

  Log Message:
  -----------
  OGM-1104 Properly throw an exception in GridDialectInitiator

If the GridDialect does not have a valid constructor, we
ignored the error and we threw a NPE instead of an explicit error
message.

In passing, fix the error message.


  Commit: 3b8afcd85ae490b45320683b4a78858f3899e3e1
      https://github.com/hibernate/hibernate-ogm/commit/3b8afcd85ae490b45320683b4a78858f3899e3e1
  Author: Gunnar Morling <gunnar.morling at googlemail.com>
  Date:   2016-06-24 (Fri, 24 Jun 2016)

  Changed paths:
    M core/src/main/java/org/hibernate/ogm/util/impl/Log.java
    M core/src/test/java/org/hibernate/ogm/test/boot/GridDialectInitiatorTest.java

  Log Message:
  -----------
  OGM-1104 Improving log message and avoiding string reference to class name


Compare: https://github.com/hibernate/hibernate-ogm/compare/59b990f13958...3b8afcd85ae4


More information about the hibernate-commits mailing list