You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Taras Ledkov (JIRA)" <ji...@apache.org> on 2017/08/02 08:43:00 UTC
[jira] [Comment Edited] (IGNITE-5211) Classes based constructor for
QueryEntities
[ https://issues.apache.org/jira/browse/IGNITE-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16109039#comment-16109039 ]
Taras Ledkov edited comment on IGNITE-5211 at 8/2/17 8:42 AM:
--------------------------------------------------------------
[Tests results|http://195.239.208.174/project.html?projectId=Ignite20Tests&tab=projectOverview&branch_Ignite20Tests=pull%2F2371%2Fhead] are OK with me.
[~vozerov], please review the changes.
was (Author: tledkov-gridgain):
Waits for [tests results|http://195.239.208.174/project.html?projectId=Ignite20Tests&tab=projectOverview&branch_Ignite20Tests=pull%2F2371%2Fhead]
> Classes based constructor for QueryEntities
> -------------------------------------------
>
> Key: IGNITE-5211
> URL: https://issues.apache.org/jira/browse/IGNITE-5211
> Project: Ignite
> Issue Type: Task
> Components: sql
> Reporter: Denis Magda
> Assignee: Taras Ledkov
> Priority: Critical
> Fix For: 2.2
>
>
> We need to add constructor {{QueryEntity(Class keyType, Class valueType)}} to query entities class and deprecate {{CacheConfiguration.setIndexedTypes(…)}} method.
> Otherwise, there is no easy way for people who define SQL scheme with the annotations to do advanced settings like names of key and value objects, table name, etc.
> See this discussion for more details:
> http://apache-ignite-developers.2346864.n4.nabble.com/SQL-setting-key-field-name-for-types-registered-via-CacheConfiguration-setIndexedTypes-td17603.html
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)