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

Cache group removed from modeler query

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0RC2
    • 3.0RC3
    • Core Library
    • None

    Description

      I have modeled an object select query in the modeler and specified a cache group.

      When I try executing this query using a NamedQuery, the cache groups parameter is being nulled.

      I have tracked this down to when NamedQuery creates a replacement ParameterizedQuery (NamedQuery.createReplacementQuery(...)), the metadata is copied across from the existing SelectQuery (which has the cache groups correctly set) by BaseQueryMetadata.copyFromInfo(...) which doesn't copy across the cache groups field.

      Attachments

        Activity

          People

            antidote Andrey Razumovsky
            xor Neil Rutherford
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: