mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Collection cache key? #7101
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @meiyasan on GitHub (Jan 26, 2023).
Hello,
There are many subtleties in doctrine that I don't understand.
But why the collection cache is based on an key that involve
rootEntityName?For instance how does it works in the following case:
The code below should be computing a key that is something like : "commonClass_XX_attribute" in both cases and so this might conflict right ? (I am looking for a second level cache issue in one application and that's how I end up here)
ed56f42cd5/lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php (L610)This is actually same for timestampKey, right ?
ed56f42cd5/lib/Doctrine/ORM/Cache/Persister/Entity/AbstractEntityPersister.php (L97)Thank you for your help :o)