mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-07 11:48:18 +00:00
52e72f5d38
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.