[
https://issues.apache.org/jira/browse/IGNITE-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pavel Tupitsyn resolved IGNITE-2651.
------------------------------------
Resolution: Implemented
> Table name inference
> --------------------
>
> Key: IGNITE-2651
> URL: https://issues.apache.org/jira/browse/IGNITE-2651
> Project: Ignite
> Issue Type: Sub-task
> Components: platforms
> Affects Versions: 1.1.4
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Fix For: 1.6
>
>
> * Table name is currently inferred from cache instance generic argument
> * This argument may be of a base type or interface, which will result in
> incorrect table name
> Need to check against CacheConfiguration.QueryEntities:
> * if there are no query entities, throw an exception: queries are not
> configured
> * if there is only one query entity, use it
> * if there are more than one query entities, check inferred name to match one
> of them and throw an error when needed
> * add ToCacheQueryable overload with explicit table name
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)