Re: javax.cache.CacheException: Failed to find mapping description

2016-09-05 Thread Alexey Kuznetsov
Hello @vikramT. I prepared example that worked for me with H2 database, but it should work with your DB also. Take a look and try to run (I also put h2 database in zip). demo-with-h2.zip -- View this message in

Re: javax.cache.CacheException: Failed to find mapping description

2016-09-02 Thread Alexey Kuznetsov
Hi, vikram. I will send you a full project that works for me on Monday (05/09/2016). On Thu, Sep 1, 2016 at 2:10 PM, vikramT wrote: > hi Alexey, > > Thanks for logging the issue. > > But still I am facing the same issue: > > public class CacheConfig { > /** > *

Re: javax.cache.CacheException: Failed to find mapping description

2016-09-01 Thread vikramT
hi Alexey, Thanks for logging the issue. But still I am facing the same issue: public class CacheConfig { /** * Create JDBC type for inventory_orders. * * @param cacheName Cache name. * @return Configured JDBC type. */ private static JdbcType

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-31 Thread Alexey Kuznetsov
@Val, @vikramT, @Vasiliy, FYI: I created issue: CacheJdbcPojoStore.loadCache() should check arguments and fail with appropriate exception message [ https://issues.apache.org/jira/browse/IGNITE-3815]. That was exactly what could help @vikramT to resolve initial bug. On Wed, Aug 31, 2016 at 6:04

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-31 Thread vikramT
hi Vasiliy, Alexey, I tried this code "cache.loadCache(null,InventoryOrdersKey.class.getName(), "select * from inventory_orders");" and getting different error log ignite-19d380e7.log Also I have added

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-31 Thread Alexey Kuznetsov
I think - YES. I will create issue in JIRA. On Wed, Aug 31, 2016 at 12:55 PM, vkulichenko wrote: > Vasiliy, Alexey, > > Does it make sense to validate the arguments on the early stage and give a > meaningful exception? > > -Val > > > > -- > View this message in

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-30 Thread vkulichenko
Vasiliy, Alexey, Does it make sense to validate the arguments on the early stage and give a meaningful exception? -Val -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/javax-cache-CacheException-Failed-to-find-mapping-description-tp7350p7427.html Sent from the

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-30 Thread Vasiliy Sisko
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

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-30 Thread vikramT
Please find screen for my table definition Capture.JPG Also I have attached the files generated by Schema Import utility, in the post. -- View this message in context:

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-30 Thread Alexey Kuznetsov
That's interesting... Could you provide DDL for InventoryOrders table. In that case we will easily reproduce and debug. P.S. Could you properly subscribe for user list? In this case all will receive e-mail about new messages in this thread? Messages that posted via forum not propagated to

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-29 Thread vikramT
Thanks Alexey. Please try to provide the solution as early as possible. -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/javax-cache-CacheException-Failed-to-find-mapping-description-tp7350p7397.html Sent from the Apache Ignite Users mailing list archive at

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-29 Thread Alexey Kuznetsov
Hi, @vikramT. Actually we did not tested automatic persistence with Hive. We will try to reproduce and I will let you know in this thread. -- View this message in context:

Re: javax.cache.CacheException: Failed to find mapping description

2016-08-28 Thread vikramT
Error is: class org.apache.ignite.IgniteException: javax.cache.CacheException: Failed to find mapping description [cache=InventoryOrdersCache, typeId=581285757]. Please configure JdbcType to associate cache 'InventoryOrdersCache' with JdbcPojoStore

javax.cache.CacheException: Failed to find mapping description

2016-08-26 Thread vikramT
Hi, I am using Ignite 1.7 over CDH 5.8, and trying to load complete table from Hive to Ignite Cache. Error: javax.cache.CacheException: Failed to find mapping description [cache=InventoryOrdersCache, typeId=581285757]. Please configure JdbcType to associate cache 'InventoryOrdersCache