ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Tupitsyn (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (IGNITE-2651) Table name inference
Date Mon, 15 Feb 2016 12:51:18 GMT

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

Pavel Tupitsyn updated IGNITE-2651:
-----------------------------------
    Description: 
* 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

> 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)

Mime
View raw message