Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-3095

[GH-1014] Update second level cache doc

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of bakura10:

      Url: https://github.com/doctrine/doctrine2/pull/1014

      Message:

      Hi,

      While testing the second level cache (side note: this is truly awesome and flexible, I love the fact it works with Criteria too), I realized that if you add the "Cache" annotation to an association, it won't put in cache the associated entities, until you also mark the target entity as cacheable. This is not obvious from reading the doc (and I don't know if that's expected behavior neither).

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-1014] was closed:
        https://github.com/doctrine/doctrine2/pull/1014

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-1014] was closed: https://github.com/doctrine/doctrine2/pull/1014
        Hide
        Guilherme Blanco added a comment -

        This issue got merged into master.

        Show
        Guilherme Blanco added a comment - This issue got merged into master.

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: