question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CacheConfiguration.java with ehcache

See original GitHub issue
Overview 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:closed
  • Created 7 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jduboiscommented, Feb 10, 2017

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.

0reactions
jduboiscommented, Feb 10, 2017

Oh and there’s also the @EnableCaching annotation on this class, but it shouldn’t be there by default! What happened here???

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found