ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stanislav Lukyanov <stanlukya...@gmail.com>
Subject RE: How to use SqlQuery for multi tables
Date Thu, 08 Mar 2018 15:57:13 GMT
You don’t have to explicitly set sqlSchema for a cache – the default value is the cache

Both cache1.query() and cache2.query() can access the data in both caches,
the only difference is the default schema name that will be used in the query.

If both caches have the same schema name or if you always specify schema explicitly in SQL
there is no difference in which one to use.


From: takumi
Sent: 8 марта 2018 г. 18:02
To: user@ignite.apache.org
Subject: RE: How to use SqlQuery for multi tables

I solved my self.
It was the cause that I didn't set to SqlSchema of CacheConfigration.

Please tell me in connection with this.
I don't know which instance query() method should be called.

If it is an instance of the same schema, whichever one I am using will not

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

View raw message