You are right Val, I did not read all the examples. Hopefully problem solved.
Cheers,
Kevin
-邮件原件-
发件人: vkulichenko [mailto:valentin.kuliche...@gmail.com]
发送时间: 2016年4月14日 14:34
收件人: user@ignite.apache.org
主题: Re: problem of using object as key in cache configurations
We already have
We already have such examples. For example, CacheClientBinaryPutGetExample.
But I agree with Andrey that this message is very confusing. I will fix it
shortly.
-Val
--
View this message in context:
I think ignite should add example codes or document to tell the beginners. I
did search the forum but no results. but the error log message did give me
hint on where the problem might be occurred (in my case, the object
serialization part).
--
View this message in context:
Hello,A few teams at our company have independently run into this issue and
ended up each wasting time figuring out how to fix it. And this is not the
first time I see people asking this very same question here. I wonder if it is
possible to improve diagnostics in Ignite code and log a more
Finally, I found the solution: I need to use "cache.withKeepBinary()" to
call the query method when the cache Key is an object type.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/problem-of-using-object-as-key-in-cache-configurations-tp4116p4146.html
Sent
Dear all,I have a table which has no primary index (need to use two columns
as composite index).at the beginning, I use only one column as key to load
all the data into the cache. However, lots of records were ignored ( because
they have the same key).Then I create an java object to store two