Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-2589

Allow optionally using a local query cache that is separate from the shared query cache.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Do
    • 4.2.M1
    • None
    • Core Library

    Description

      Allow optionally using a local query cache that is separate from the shared query cache.

      The local query cache can be customized by creating a custom DataContextFactory.

      A separate cache can prevent memory leaks from occurring if you used non-expiring cacheĀ groups (like the default cache group perhaps) along with the local cache, which wasn'tĀ intuitive if you expected the lifetime of the cache to match the lifetime of the ObjectContext.

      Attachments

        Activity

          People

            johnthuss John Huss
            johnthuss John Huss
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: