Which entities are cached when using a persistence provider that supports caching?

Given the following entity classes:
@Entity
@cacheable (true)
Public class A { . . . }
@Entity
@cacheable (false)
Public class B { . . .}
@Entity
Public class C { . . . }
If the shared-cache-mode element of persistence.xml is set to ENABLE _SERVICE, which entities are cached when using a persistence provider that supports caching?
A. A only
B. A and B
C. A and C
D. A, B, and C

Download Printable PDF. VALID exam to help you PASS.

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.