This is a part of the real code that I wrote.
-----------------------------
List<QueryEntity> entities = new ArrayList<>();
QueryEntity qe = new QueryEntity(String.class.getName(), "cache");
qe.addQueryField("attribute.prop1", Double.class.getName(), "prop3");
qe.addQueryField("attribute.prop2", String.class.getName(), "prop4");
qe.addQueryField("attribute.prop.prop1", Double.class.getName(), "prop5");
qe.addQueryField("attribute.prop.prop2", String.class.getName(), "prop6");
BinaryObject bo =ib.builder("cache").setField("attribute",
ib.builder("cache.attribute")
.setField("prop",
ib.builder("cache.attribute.prop")
.setField("prop1", 50.0, Double.class)
.setField("prop2", "old", String.class))
.setField("prop1", 50.0, Double.class)
.setField("prop2", "old", String.class)).build();
cache.put("key1", bo);
cache.query(new SqlFieldsQuery("update cache set prop4 = 'new' where
prop3 >= 20.0"));//OK
cache.query(new SqlFieldsQuery("update cache set prop6 = 'new' where
prop5 >= 20.0"));//NG
-----------------------------
I can update 'prop4' by SQL, but I do not update 'prop6' by SQL.
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/