cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrey Razumovsky (JIRA)" <j...@apache.org>
Subject [jira] Closed: (CAY-1401) Cache group removed from modeler query
Date Fri, 05 Mar 2010 11:25:27 GMT

     [ 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.


Mime
View raw message