You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by "slava.koptilin" <sl...@gmail.com> on 2018/08/06 19:00:40 UTC

Re: Not getting the column access in Ignite Cache created and loaded from Oracle

Hello,

It seems that your question is already answered on SO
https://stackoverflow.com/questions/51232522/not-getting-the-column-access-in-ignite-cache-created-and-loaded-from-oracle
Long story short, you need to properly specify queryable entities. It can be
done via QueryEntities or Annotations:
 - QueryEntities
   you have to enlist all the columns that you want to see in your table in
the QueryEntity#fields property.
   All names should correspond to field names of your Java objects.
  
https://apacheignite-sql.readme.io/docs/schema-and-indexes#queryentity-based-configuration

 - Annotations
   Desired fields should be marked with @QuerySqlField annotation and
registered via setIndexedTypes() method.
  
https://apacheignite-sql.readme.io/docs/schema-and-indexes#section-annotation-based-configuration

Thanks,
S.



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/