openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OPENJPA-2414) FinderCache does not consider active Fetch Groups/FetchPlan added Fields
Date Wed, 09 Oct 2013 20:44:41 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-2414?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13790841#comment-13790841
] 

ASF subversion and git services commented on OPENJPA-2414:
----------------------------------------------------------

Commit 1530789 from [~fyrewyld] in branch 'openjpa/branches/2.2.1.x'
[ https://svn.apache.org/r1530789 ]

OPENJPA-2414: FinderCache does not consider active Fetch Groups/FetchPlan added Fields

> FinderCache does not consider active Fetch Groups/FetchPlan added Fields
> ------------------------------------------------------------------------
>
>                 Key: OPENJPA-2414
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2414
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 2.3.0, 2.2.3
>            Reporter: Jody Grassel
>            Assignee: Jody Grassel
>             Fix For: 2.1.2, 2.3.0, 2.2.1.1, 2.2.3
>
>
> The FinderCache retains a Map, associating a ClassMapping with a FinderQuery.  However,
this cache does not factor in the characteristics of the FetchPlan that was active when a
mapping is created, nor does it factor them to determine if a cache hit is appropriate.  This
causes the find() operation to perform the same SQL as the first time it was executed, regardless
of changes to the active FetchPlan afterwards.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message