ObjectDB ObjectDB

evict(cls) - JPA Cache's method

Method
javax.persistence.Cache
void evict(
  Class cls
)

Remove the data for entities of the specified class (and its subclasses) from the cache.
Parameters:
cls - entity class
Since:
JPA 2.0