Evict entity object(s) from the hibernate session or first-level cache.
- An entity object
- An array of entity objects
- This function returns void
Key | Type | Required | Description |
---|---|---|---|
entities | any | Yes | The argument can be one persistence entity or an array of entities to evict |
ormService.evict( thisEntity );