Level two cache may not be enabled when using @Cacheable without/instead of @Cache in JBoss EAP
Issue
- Randomly, it is observed that level two cache is not enabled when using
@javax.persistence.Cacheable
annotations instead of@org.hibernate.annotations.Cache
- This has been reproduced only when deploying multiple persistence units (some with cache disabled, some with cache enabled)
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 7
- 6
- Hibernate
- 5
- 4
- Infinispan
- 8
- 5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.