[ 
https://issues.apache.org/jira/browse/IGNITE-4485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexandr Kuramshin resolved IGNITE-4485.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0

> CacheJdbcPojoStore returns unexpected BinaryObject upon loadCache()
> -------------------------------------------------------------------
>
>                 Key: IGNITE-4485
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4485
>             Project: Ignite
>          Issue Type: Bug
>          Components: cache
>    Affects Versions: 2.0
>            Reporter: Alexandr Kuramshin
>            Assignee: Alexey Kuznetsov
>              Labels: easyfix
>             Fix For: 2.0
>
>
> When calling loadCache(IgniteBiInClosure clo, Object... args) sometimes we 
> get unexpected values of type BinaryObject in IgniteBiInClosure.apply(), 
> whereas POJO value kind was registered previously for well known key type.
> It's so because getOrCreateCacheMappings returns HashMap which resorts entity 
> mappings for the same key but with different value kind. When 
> BinaryMarshaller is used, then this map contains two mappings for the same 
> key - POJO and BINARY.
> Possible fix is to use LinkedHashMap, then POJO mapping will be picked first.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to