[jira] [Created] (IGNITE-11840) Annotation-based configuration creates not only nested fields, but the enclosing object as well

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-11840) Annotation-based configuration creates not only nested fields, but the enclosing object as well

Anton Vinogradov (Jira)
Alex Savitsky created IGNITE-11840:
--------------------------------------

             Summary: Annotation-based configuration creates not only nested fields, but the enclosing object as well
                 Key: IGNITE-11840
                 URL: https://issues.apache.org/jira/browse/IGNITE-11840
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 2.7
            Reporter: Alex Savitsky


Using the annotation-based example from the [documentation|https://apacheignite-sql.readme.io/docs/schema-and-indexes#annotation-based-configuration], I'm creating a cache of Person object, with a nested Address inside. The expectation is that the created SQL table would have 4 columns: "id", "name", "street", and "zip". However, it also creates a column named "address" of type OTHER, and there's no apparent way to turn the creation of that column off, without also losing the columns "street" and "zip". The OTHER type messes up most of the SQL tools, as they don't know how to deal with it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)