You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2014/06/17 20:33:09 UTC
[jira] [Updated] (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:all-tabpanel ]
Rick Curtis updated OPENJPA-2506:
---------------------------------
Affects Version/s: 2.0.1
2.1.1
2.2.2
2.3.0
> 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.2#6252)