[hibernate-commits] [hibernate/hibernate-orm] 1a4577: HHH-12560 - Make sure only one Service registratio...

GitHub noreply at github.com
Fri May 11 16:39:42 EDT 2018


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: 1a4577d1f0baaaa2ad5dedc9a518a5bed365f63d
      https://github.com/hibernate/hibernate-orm/commit/1a4577d1f0baaaa2ad5dedc9a518a5bed365f63d
  Author: Steve Ebersole <steve at hibernate.org>
  Date:   2018-05-11 (Fri, 11 May 2018)

  Changed paths:
    M hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
    M hibernate-core/src/test/java/org/hibernate/service/ServiceContributorTest.java

  Log Message:
  -----------
  HHH-12560 - Make sure only one Service registration (initiator/provided) exists per role

- additional test - this one needed a minor change.. all tests implicitly use values defined in `hibernate.properties`, which hibernate-core has.  This lead to `#getFallback` being called, which was the intended solution.  The fix for that was simply the next point.
- added the ability to clear the settings contained on StandardServiceRegistryBuilder.  This is used in the test to make sure that no explicit RegionFactory is set.



      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the hibernate-commits mailing list