You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladimir Ozerov (JIRA)" <ji...@apache.org> on 2017/01/12 14:29:52 UTC

[jira] [Commented] (IGNITE-2210) Cannot query annotated methods when BinaryMarshaller is set.

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

Vladimir Ozerov commented on IGNITE-2210:
-----------------------------------------

If we put annotation on a method, it should always provide the same value provided that object content is unchanged. No difference form fields.

> Cannot query annotated methods when BinaryMarshaller is set.
> ------------------------------------------------------------
>
>                 Key: IGNITE-2210
>                 URL: https://issues.apache.org/jira/browse/IGNITE-2210
>             Project: Ignite
>          Issue Type: Task
>          Components: general, SQL
>    Affects Versions: ignite-1.4
>            Reporter: Vladimir Ozerov
>             Fix For: 2.0
>
>
> Because it is impossible to call method from object in binary form. Several solutions could be applied here:
> 1) Throw exception when method annotation is found and BinaryMarshaller is set.
> 2) Or call this method and record it as a field to the object.
> Sample test: IgniteCacheAbstractFieldsQuerySelfTest.testMethodAnnotationWithoutGet



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