| Hello, I have the following setup:
Abstract Entity (@Mappedsuperclass)
|
WidgetEntity (@Entity)
|
BannerWidgetEntity(@Entity)
I also have about 10 different entities that extend from WidgetEntity. Now I want to specify different cache regions for these entities so I add the @Cache annotation like this:
@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE, region = "banner")
but no matter where I put it - Banner or Widget I always get the same warning:
2018-05-05 14:16:41,852 org.hibernate.cfg.annotations.EntityBinder [main] WARN : HHH000482: @javax.persistence.Cacheable or @org.hibernate.annotations.Cache used on a non-root entity: ignored for com.nemesis.platform.module.widget.paragraph.core.entity.BannerWidgetEntity
I believe this is related to https://hibernate.atlassian.net/browse/HHH-11143 |