Hi,

The problematic line of code is this one:

qe.setKeyType(String.class.getCanonicalName());

Basically, because of this configuration, SQL engine expect to have a String
as a key and therefore tries to unwrap the BinaryObject and fails on
deserialization. You should use your own name, as you do with the value
object.

Also I believe you should have different names for key and value types,
because as far as I understand they have completely different structure.

-Val



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Error-while-loading-data-into-cache-with-BinaryObject-as-key-field-tp6014p6050.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to