You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Neil Rutherford (JIRA)" <ji...@apache.org> on 2010/03/05 10:34:27 UTC

[jira] Created: (CAY-1401) Cache group removed from modeler query

Cache group removed from modeler query
--------------------------------------

                 Key: CAY-1401
                 URL: https://issues.apache.org/jira/browse/CAY-1401
             Project: Cayenne
          Issue Type: Bug
          Components: Core Library
    Affects Versions: 3.0RC2
            Reporter: Neil Rutherford
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (CAY-1401) Cache group removed from modeler query

Posted by "Andrey Razumovsky (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CAY-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrey Razumovsky closed CAY-1401.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 3.0RC3
         Assignee: Andrey Razumovsky

> Cache group removed from modeler query
> --------------------------------------
>
>                 Key: CAY-1401
>                 URL: https://issues.apache.org/jira/browse/CAY-1401
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 3.0RC2
>            Reporter: Neil Rutherford
>            Assignee: Andrey Razumovsky
>            Priority: Minor
>             Fix For: 3.0RC3
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.