openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guido Mueller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-1941) Criteria query returns wrong result when query cache is enabled
Date Thu, 17 Feb 2011 10:41:24 GMT

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

Guido Mueller commented on OPENJPA-1941:
----------------------------------------

The problem also occurs with EHCache is enabled instead of the the native OpenJPA cache.

> Criteria query returns wrong result when query cache is enabled
> ---------------------------------------------------------------
>
>                 Key: OPENJPA-1941
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-1941
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: datacache, jpa
>    Affects Versions: 2.0.1
>         Environment: The issue was detected when using a criteria query against Oracle
database.
>            Reporter: Guido Mueller
>         Attachments: JpaCriteriaQueryCacheIssue.zip, jpacriteriaquerycacheissue.sql
>
>
> When query cache is not enabled the queries return these lines: Query 1: 1 Query 2: 2
This is correct.
> When query cache is enabled the queries return these lines: Query 1: 1 Query 2: 1 This
is wrong.
> See attached test case (Netbeans project). ojdbc14.jar and openjpa-all-2.0.1.jar must
be added to the project.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message