contains(cls, primaryKey) - JPA Cache's method
Method javax.persistence.Cache
boolean contains(
Class cls,
Object primaryKey
)
- Parameters:
-
cls
- entity class -
primaryKey
- primary key
- Returns:
- boolean indicating whether the entity is in the cache
- Since:
- JPA 2.0