evict(cls, primaryKey) - JPA Cache's method
Method javax.persistence.Cache
void evict(
Class cls,
Object primaryKey
)
Remove the data for the given entity from the cache.
- Parameters:
-
cls
- entity classprimaryKey
- primary key
- Since:
- JPA 2.0