Hello @vikramT. 

I reproduce your problem. 

You incorrectly pass arguments for loadCache method. For loadCache class
name string is required:
“org.infocepts.ignite.hiveCache.InventoryOrdersKey”. You send class
Class.forName(InventoryOrdersKey.class.getName()) that transforms to “class
org.infocepts.ignite.hiveCache.InventoryOrdersKey” string. 

Fix for this issue will look like this: “cache.loadCache(null,
InventoryOrdersKey.class.getName(), "select * from inventory_orders");”

See example in CacheJdbcPojoStore section of documentation:
https://apacheignite.readme.io/docs/automatic-persistence#cachejdbcpojostore



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/javax-cache-CacheException-Failed-to-find-mapping-description-tp7350p7425.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to