[hibernate-commits] [hibernate/hibernate-orm] bae98f: HHH-13138 By default, pass the class loader of the...

GitHub noreply at github.com
Thu Jan 3 15:35:06 EST 2019


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-orm
  Commit: bae98ffaccf55c78bb1eb39b1e249f9b8ae92726
      https://github.com/hibernate/hibernate-orm/commit/bae98ffaccf55c78bb1eb39b1e249f9b8ae92726
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-01-03 (Thu, 03 Jan 2019)

  Changed paths:
    M hibernate-core/src/test/java/org/hibernate/jpa/test/BaseEntityManagerFunctionalTestCase.java

  Log Message:
  -----------
  HHH-13138 By default, pass the class loader of the test to the EMF

Not doing it causes issues when using the BytecodeEnhancerRunner which
introduces an enhancing class loader.

We could do it on a per test basis but it's easier to do it once and for
all.

And it can still be overridden anyway.


  Commit: 2a8582be7f114565fa1fcf8b16a85b721d88d47c
      https://github.com/hibernate/hibernate-orm/commit/2a8582be7f114565fa1fcf8b16a85b721d88d47c
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-01-03 (Thu, 03 Jan 2019)

  Changed paths:
    M hibernate-testing/src/main/java/org/hibernate/testing/bytecode/enhancement/BytecodeEnhancerRunner.java

  Log Message:
  -----------
  HHH-13138 Set the TCCL in BytecodeEnhancerRunner

We are not consistently using the ClassLoaderService and we sometimes
use the TCCL so better set it correctly.


  Commit: 99abb99edf9a8d49c0c9e29afbd92de3f5fbca20
      https://github.com/hibernate/hibernate-orm/commit/99abb99edf9a8d49c0c9e29afbd92de3f5fbca20
  Author: Guillaume Smet <guillaume.smet at gmail.com>
  Date:   2019-01-03 (Thu, 03 Jan 2019)

  Changed paths:
    A hibernate-core/src/test/java/org/hibernate/test/joinfetch/enhanced/JoinFetchWithEnhancementTest.java

  Log Message:
  -----------
  HHH-12298 Add test for join fetch with bytecode enhancement


Compare: https://github.com/hibernate/hibernate-orm/compare/2dd008adb7e3...99abb99edf9a
      **NOTE:** This service has 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