You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/12/29 22:01:13 UTC

[jira] [Commented] (OPENJPA-2506) StoreCache interface doesn't work for many ID types

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

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

Commit 1648430 from [~jpaheath] in branch 'openjpa/branches/2.1.x'
[ https://svn.apache.org/r1648430 ]

OPENJPA-2506: StoreCache interface doesn't work for many ID types - back ported Dalia's fix to 2.1.x.

> StoreCache interface doesn't work for many ID types
> ---------------------------------------------------
>
>                 Key: OPENJPA-2506
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2506
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: datacache, kernel
>    Affects Versions: 2.0.1, 2.1.1, 2.2.2, 2.3.0, 2.4.0
>            Reporter: Rick Curtis
>            Assignee: Rick Curtis
>             Fix For: 2.4.0
>
>         Attachments: patch-FacadeHelperFix.patch
>
>
> While doing some internal testing, it was discovered that the javax.persistence.Cache.contains(Class, Object) method doesn't work for a number of id types. The implementation depends on JPAFacade helper to convert user provided [Class, Object] into a proper OpenJPAId, but it doesn't work in all cases. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)