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

Make SelectQueryMetadata cache key generation aware of SelectQuery columns and name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0.M5
    • 4.0.M5
    • Core Library
    • None

    Description

      First problem is that queries like ObjectSelect.query(Artist.class).select(..) and ObjectSelect.query(Artist.class).selectCount(..) have the same cache key.

      Another problem is that MapQueryCache can't distinguish cache entries when QueryMetadata differs only with cache groups.
      So may be it is a good idea to use query name as part of cache key (if it is set).

      Attachments

        Activity

          People

            ntimofeev Nikita Timofeev
            ntimofeev Nikita Timofeev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: