|
|
|
|
|
by capitainenemo
495 days ago
|
|
So, given the main issue with ORM is the object/relational part...
(https://web.archive.org/web/20160301022121/http://www.revisi...) Why is caching not a feature in DB connection pools? I mean, most databases have it on their side, why not have it as an option for the same query sets prior to hitting the db, with configurable invalidations? Or is it, and I've just never thought to look for it. |
|
Example: if you execute "UPDATE orders SET x = 5 WHERE id = 10", the connection pool has no idea what entries to invalidate. ORM knows that since it tracks all managed entities, understands their structure, identity.