CacheConfiguration.java with ehcache
See original GitHub issueOverview of the issue
In CacheConfiguration.java generated with ehcache. The “log” and “cacheManager” fields does not seem to have any purpose anymore
Motivation for or Use Case
Clean up unused code
Reproduce the error
Generate a project using ehcache
Related issues
Suggest a Fix
Remove the fields
JHipster Version(s)
4.0.0
JHipster configuration
Entity configuration(s) entityName.json
files generated in the .jhipster
directory
Browsers and Operating System
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
CacheConfiguration (ehcache 2.8.5 API)
A value object used to represent cache configuration. Construction Patterns. The recommended way of creating a Cache in Ehcache 2.0 and above is ......
Read more >Introduction To Ehcache - Baeldung
A quick and practical guide to Ehcache with a Java application. ... create a helper class for easier cache configuration and availability:
Read more >ehcache3-samples/CacheConfiguration.java at master - GitHub
Some examples / tutorials on using Ehcache 3. Contribute to ehcache/ehcache3-samples development by creating an account on GitHub.
Read more >org.ehcache.config.CacheConfiguration Java Examples
This page shows Java code examples of org.ehcache.config.CacheConfiguration.
Read more >net.sf.ehcache.config.CacheConfiguration java code examples
new Cache(new CacheConfiguration("test", 0).//. ... Best Java code snippets using net.sf.ehcache.config.CacheConfiguration (Showing top 20 results out of ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
OK I have refactored everything. As it’s quite tricky, I’m a bit afraid to do this, but this needed to be done urgently, as our documentation was false.
Oh and there’s also the
@EnableCaching
annotation on this class, but it shouldn’t be there by default! What happened here???