ehcache « Test « JPA Q&A





1. Making ehcache read-write for test code and read-only for production code    stackoverflow.com

I would like to annotate many of my Hibernate entities that contain reference data and/or configuration data with

@Cache(usage = CacheConcurrencyStrategy.READ_ONLY)
However, my JUnit tests are setting up and tearing down some of ...