Branch: refs/heads/master
Home:
https://github.com/hibernate/hibernate-orm
Commit: 52e72f5d3829e519f79669cec6bb8196f091dc53
https://github.com/hibernate/hibernate-orm/commit/52e72f5d3829e519f79669c...
Author: Vlad Mihalcea <mihalcea.vlad(a)gmail.com>
Date: 2018-10-25 (Thu, 25 Oct 2018)
Changed paths:
M
hibernate-core/src/main/java/org/hibernate/boot/registry/classloading/internal/ClassLoaderServiceImpl.java
M
hibernate-jcache/src/main/java/org/hibernate/cache/jcache/internal/JCacheRegionFactory.java
A
hibernate-jcache/src/test/java/org/hibernate/test/cache/jcache/config/JCacheClasspathConfigUriTest.java
A
hibernate-jcache/src/test/java/org/hibernate/test/cache/jcache/config/JCacheConfigRelativePathTest.java
A
hibernate-jcache/src/test/java/org/hibernate/test/cache/jcache/config/JCacheConfigUrlTest.java
A hibernate-jcache/src/test/java/org/hibernate/test/cache/jcache/config/Product.java
A
hibernate-jcache/src/test/resources/hibernate-config/ehcache/jcache-ehcache-config.xml
Log Message:
-----------
HHH-12979 - Setting hibernate.javax.cache.uri property value as relative path causes an
error
Resolve the hibernate.javax.cache.uri using the ClassLoaderService.
Strip the classpath:// prefix if not resolved by new URL() in ClassLoaderService.
This way, if a framework (e.g. Spring) has installed a handler for classpath://, the
resource is resolved with its handler and class loader.
If not, we remove the classpath:// prefix and we resolve the resource with our
classloader.
**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.