Jakarta Persistence (JPA) Method

void evict(
  Class<?> cls,
  Object primaryKey
)


Remove the data for the given entity from the cache.
Parameters:
cls - entity class
primaryKey - primary key
Since:
Jakarta Persistence (JPA) 1.0