Ticket #290 (closed defect: fixed)
doDelete() needs to invalidate instance cache
| Reported by: | hans | Owned by: | hans |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.3 |
| Component: | Generator | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: |
Description
When objects are deleted from the database, we need to remove them from the instance cache / identity map.
A doDelete() call with a single object need only invalidate that single entry from the cache. A doDelete() call with Criteria is probably better off either invalidating the entire set or performing a query and invalidating each match individually (that sounds like a horrible idea).
Change History
Note: See
TracTickets for help on using
tickets.