Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#1347 - Fix for hibernate.javax.cache.uri in JakartaEE EARs #1348

Merged
merged 5 commits into from
Dec 3, 2023

Conversation

mletenay
Copy link
Contributor

As mentioned in #1347, the URIs in case of JakartaEE jar files are neither file: nor classpath: but jar:.
Extend the TypesafeConfigurator#resolveConfig to properly pass also jar: protocol URLs, so the Caffeine can be used as Hibernate's 2nd level cache in complex JakartaEE applications.

mletenay and others added 2 commits November 29, 2023 12:13
Add support for loading specific configuration files from within EAR's
jar files.

Change-Id: I54bf4740bf9be3181795ce6ad39d112dd1a4d802
@CLAassistant
Copy link

CLAassistant commented Nov 29, 2023

CLA assistant check
All committers have signed the CLA.

Move else-if up to better match the code flow

Change-Id: I3323bc9619f1d38be10637fd67bff19cf9641c52
Use ConfigFactory.parseURL for reading jar located config.

Change-Id: I1a6603bc2973d71d07993ec352119639b11d5169
Propagate the MalformedURLException

Change-Id: I3c832e71f8307facd50c8e10d6d2b65def300887
@ben-manes ben-manes merged commit 4fd8b21 into ben-manes:master Dec 3, 2023
133 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants