[ https://issues.apache.org/jira/browse/IGNITE-5211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Magda updated IGNITE-5211: -------------------------------- Description: 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 was: 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 > Classes based constructor for QueryEntities > ------------------------------------------- > > Key: IGNITE-5211 > URL: https://issues.apache.org/jira/browse/IGNITE-5211 > Project: Ignite > Issue Type: Task > Reporter: Denis Magda > Assignee: Vladimir Ozerov > Priority: Critical > Fix For: 2.1 > > > 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.3.15#6346)