ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iostream <sidds.mo...@gmail.com>
Subject Re: Cache Indexes not getting created Ignite v2.1
Date Fri, 29 Sep 2017 10:41:59 GMT
Hi,

I have marked all my fields with @QuerySqlField annotation because I want to
expose all my fields to SQL Query. I do not want to create an index on
"name".

I use the same setup across all my environments. In my lower environments, I
am able to retrieve data using both SQL query on DBeaver and SQLFieldsQuery
in my Java Application as follows -

IgniteCache<person_key, Person> cache = Ignition.ignite()
				.cache("PersonCache");
SqlFieldsQuery query = new SqlFieldsQuery("SELECT * from
"PersonCache".Person where name = ?")
				.setArgs("ABC");

In my PROD env, SQL query on DBeaver and SQLFieldsQuery are not returning
any data.



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

Mime
View raw message