[hibernate-commits] [hibernate/hibernate-search] 43897b: HSEARCH-2933 Upgrade to mariadb-java-client 2.2.4

GitHub noreply at github.com
Thu May 24 04:15:15 EDT 2018


  Branch: refs/heads/5.10
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 43897b1dde5e7fbe87509a440e0486fe7f1844c5
      https://github.com/hibernate/hibernate-search/commit/43897b1dde5e7fbe87509a440e0486fe7f1844c5
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  HSEARCH-2933 Upgrade to mariadb-java-client 2.2.4


  Commit: bdaf88c449eabd2f7358e8be3005494d9b1903dd
      https://github.com/hibernate/hibernate-search/commit/bdaf88c449eabd2f7358e8be3005494d9b1903dd
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M jbossmodules/orm/src/main/modules/search/jsr352/module.xml
    M jbossmodules/orm/src/main/modules/search/orm/module.xml

  Log Message:
  -----------
  HSEARCH-3168 JBoss Modules should not use the deprecated module of Hibernate ORM


  Commit: bb0fa2d042d68ea01eebc392f98bc656a0ab6810
      https://github.com/hibernate/hibernate-search/commit/bb0fa2d042d68ea01eebc392f98bc656a0ab6810
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M orm/src/main/java/org/hibernate/search/hcore/impl/ExtendedBeanManagerSynchronizer.java
    M orm/src/main/java/org/hibernate/search/hcore/impl/HibernateSearchSessionFactoryObserver.java

  Log Message:
  -----------
  HSEARCH-3163 Propagate exceptions to the environment when bootstrap fails

This way, the environment synchronizer (WildFly for instance) is aware
that something went wrong.

Part of this change was copied from the Hibernate Search 6 POC, commit
9fbb02572f736707703eb5d475a0fe45d4514308.


  Commit: 5cdc1c79c01206ed25268680ad49ddce6c8bde99
      https://github.com/hibernate/hibernate-search/commit/5cdc1c79c01206ed25268680ad49ddce6c8bde99
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M orm/src/main/java/org/hibernate/search/hcore/impl/HibernateSearchSessionFactoryObserver.java

  Log Message:
  -----------
  HSEARCH-3163 Do not close the ORM SessionFactory upon bootstrap failure

As an integration into Hibernate ORM, this is simply not our job:

* when an environment synchronizer is used (WildFly), the synchronizer
should catch the exception and perform the appropriate shutdown
sequence, which should include shutting down Hibernate ORM.
* when no environment synchronizer is used, the session factory should
catch the exception and close itself. And it does: see the
SessionFactoryImpl constructor.


  Commit: 21b23ff6fe6e72b45be7c957214449251aa77fed
      https://github.com/hibernate/hibernate-search/commit/21b23ff6fe6e72b45be7c957214449251aa77fed
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/wildfly/BootstrapFailureIT.java
    A integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/wildfly/util/ManagementClientHelper.java

  Log Message:
  -----------
  HSEARCH-3163 Test that exceptions are propagated to WildFly when bootstrap fails


  Commit: d07173056129926fb62921f18a9c61b370d9ffc2
      https://github.com/hibernate/hibernate-search/commit/d07173056129926fb62921f18a9c61b370d9ffc2
  Author: Sanne Grinovero <sanne at hibernate.org>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M integrationtest/wildfly/src/test/java/org/hibernate/search/test/integration/wildfly/BootstrapFailureIT.java

  Log Message:
  -----------
  HSEARCH-3163 Remove some unnecessary resources from the testing deployment


Compare: https://github.com/hibernate/hibernate-search/compare/4830d48de7b8...d07173056129
      **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