hi experts,

I want to put a POJO bean as the value to cache by rest api. I use json
string as the url parameter,like
http://localhost:8080/ignite?cmd=put&key=2&cacheName=TestTable1Cache&val={"attr1":"data1","attr2":"data2"}

But I got java.lang.ClassCastException: java.lang.String cannot be cast to
org.apache.ignite.Testtable1

Any suggestion will be appreciated! 

Tony




--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/How-to-put-a-POJO-bean-value-to-cache-by-rest-api-tp3639.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to