You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kukushkin (JIRA)" <ji...@apache.org> on 2017/06/30 10:40:00 UTC

[jira] [Assigned] (IGNITE-5505) @AffinityKeyMapped annotation is ignored if class names are configured on BinaryConfiguration

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

Alexey Kukushkin reassigned IGNITE-5505:
----------------------------------------

    Assignee: Alexey Kukushkin

> @AffinityKeyMapped annotation is ignored if class names are configured on BinaryConfiguration
> ---------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-5505
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5505
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 1.7
>            Reporter: Andrey Gura
>            Assignee: Alexey Kukushkin
>
> {{@AffinityKeyMapped}} annotation on key class field is ignored in case when class names passed to {{inaryConfiguration}} via {{setClassNames()}} method.
> The problem is that Ignite uses {{IgniteConfiguration.cacheKeyCfg}} during {{BinaryContext.configure()}} execution and doesn't check class fileds on {{@AffinityKeyMapped}} annotation.
> Possible solution: check class fields on {{@AffinityKeyMapped}} annotation if there is no any mapping for cache key type.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)