persistence.xml caching element is
SharedCacheMode#ENABLE_SELECTIVE or
SharedCacheMode#DISABLE_SELECTIVE.
The value of the Cacheable annotation is inherited by
subclasses; it can be overridden by specifying Cacheable on
a subclass.
Cacheable(false) means that the entity and its state must
not be cached by the provider.
| Modifier and Type | Method and Description |
|---|---|
| public boolean |
| value | back to summary |
|---|---|
| public boolean value() (Optional) Whether or not the entity should be cached. | |