Uploaded image for project: 'NHibernate'
  1. NHibernate
  2. NH-195

Child collections are not being stored in the second level cache

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: beta-0.7
    • Fix Version/s: beta-0.7
    • Component/s: Core
    • Labels:
      None
    • Environment:

      Description

      Logging showed that child collections were being loaded from the database with every page hit, although individual entities are successfully stored in the cache. This happens regardless of whether or not the child collections are also being lazy loaded.

      Further investigation indicates that NHibernate is looking for child collections in the cache but not saving them.

        Attachments

          Activity

            People

            • Assignee:
              mdoerfler Mike Doerfler
              Reporter:
              jammycakes James McKay
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Who's Looking?