cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neil Rutherford (JIRA)" <>
Subject [jira] Created: (CAY-1401) Cache group removed from modeler query
Date Fri, 05 Mar 2010 09:34:27 GMT
Cache group removed from modeler query

                 Key: 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.

View raw message