Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 954 Bytes

File metadata and controls

22 lines (14 loc) · 954 Bytes

evictCollection

Evict all the collection or association data for a given entity name and collection name from the secondary cache ONLY, not the hibernate session.

Evict an entity name with or without an ID from the secondary cache ONLY, not the hibernate session

Returns

  • This function returns void

Arguments

Key Type Required Default Description
entityName string Yes --- The entity name to evict or use in the eviction process
relationName string false The name of the relation in the entity to evict
id any false The id to use for eviction according to entity name or relation name

Examples