Community
Participate
Working Groups
1. If shared-cache-mode is set to anything other than ENABLE_SELECTIVE or DISABLE_SELECTIVE we should have a validation warning anywhere the @Cacheable annotation and its XML equivalent is used indicating that the setting is ignored. 2. If you define the @Cache annotation or its XML equivalent on an inheritance subclass, the annotation will be ignored so we should have a validation warning indicating as such.
Created attachment 190442 [details] proposed bug fix patch
Moving JPA specific bugs to new JPA component in bugzilla.
Since this already has a patch, should we get it in for M2? Targeting to M2 so we see it
The SUPER_TYPE_SPECIFIES_CACHE_CHILD_SETTING_WILL_BE_IGNORED validation does not take into account mixed java and xml specification. So a java entity could have an orm.xml entity as its parent and vice versa. In these cases no validation error would be given if the cache setting was specified in the parent. This also needs to be added to the validation preferences (JpaProblemSeveritiesPage)
This validation has been complicated by EclipseLink's multitenancy feature. Deferring this bug to the future.