ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Valentin Kulichenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-1039) Need to inspect nested objects for indexing automatically
Date Mon, 22 Jun 2015 05:31:00 GMT
Valentin Kulichenko created IGNITE-1039:
-------------------------------------------

             Summary: Need to inspect nested objects for indexing automatically
                 Key: IGNITE-1039
                 URL: https://issues.apache.org/jira/browse/IGNITE-1039
             Project: Ignite
          Issue Type: Bug
          Components: cache
    Affects Versions: sprint-4
            Reporter: Valentin Kulichenko


Imagine we have this data model with {{Organization}} object nested into {{Person}}:
{code}
Person {
    @QuerySqlField
    String name;

    Organization org;
}

Organization {
    @QuerySqlField
    String name;
}
{code}
This currently doesn't work because {{Organization}} is not inspected until we put {{@QuerySqlField}}
annotation on {{Person.org}} field.

Such design is not good because it is:
* Counterintuitive
* Adds {{org}} field to tables which is not needed.

We should inspect nested objects automatically.



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

Mime
View raw message