Hi,

I am using simple POJO objects as key/value pair for my Ignite cache. Also
I would like to store objects as BinaryObjects. Thus Ignite cache was
created using:

*mycache = ignite.getOrCreateCache("mycache").withKeepBinary()*

When I am trying to put objects in the cache I am receiving such an error:

*java.lang.IllegalArgumentException: Cache key must override hashCode() and
equals() methods: com.test.MyKey*

Isn't this contradicts to *BinaryObjects* concept? As far as there are no
*com.test.MyKey* class deployed on the server side all implemented class
methods (including *hashCode* and *equals*) are useless, cause they will
not be available on the server.

Igor

Reply via email to