#1636: Result caching for queries with joins is not fully working
----------------------+-----------------------------------------------------
Reporter: esycat | Owner: romanb
Type: defect | Status: new
Priority: major | Milestone: 1.0.5
Component: Caching | Version: 1.0.3
Resolution: | Keywords:
Has_test: 1 | Mystatus: Pending Core Response
Has_patch: 0 |
----------------------+-----------------------------------------------------
Old description:
> When using result cache for queries with joins, data of joined models is
> not being cached and/or reconstructed back from the cache properly, which
> leads to new unexpected individual queries for lazy loading.
>
> [http://groups.google.com/group/doctrine-
> user/browse_thread/thread/f5c40d3f2dfb724d Discussion].
>
> PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli)[[BR]]
> Doctrine 1.0.3
New description:
When using result cache for queries with joins, data of joined models is
not being cached and/or reconstructed back from the cache properly, which
leads to new unexpected individual queries for lazy loading.
[http://groups.google.com/group/doctrine-
user/browse_thread/thread/f5c40d3f2dfb724d Discussion].
PHP 5.2.6 with Suhosin-Patch 0.9.6.2 (cli)[[BR]]
Doctrine 1.0.3
Comment (by vladb):
May I stress the magnitude of this problem; join queries are more often
than not more resource consuming that regular ones. Not being able to
cache them (and moreso, creating overhead IF YOU DO) simply invalidates
the caching mechanism itself and makes Doctrine unsuitable for large scale
projects -- which is, exactly where using Doctrine makes a lot of sense.
I apologize for stating the obvious, obviously I've just bumped into the
problem. I'll look through the code and see if I can come up with a
solution, although my experience with Doctrine internals is pretty much
non-existent.
--
Ticket URL: <http://trac.doctrine-project.org/ticket/1636#comment:5>
Doctrine <http://www.phpdoctrine.org>
PHP Doctrine Object Relational Mapper
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"doctrine-svn" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.co.uk/group/doctrine-svn?hl=en-GB
-~----------~----~----~----~------~----~------~--~---