ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Igor Sapego <isap...@gridgain.com>
Subject Re: Load data to cache
Date Tue, 28 Mar 2017 11:35:21 GMT
Hi,

Which database do you use?

Best Regards,
Igor

On Tue, Mar 28, 2017 at 7:57 AM, kavitha <kavithamrgsn@gmail.com> wrote:

> Hi,
>
> I tried following code to load cache. Could you please correct the code, If
> It is wrong?
>
>  IIgnite ignite = Ignition.Start(@"F:\Visual
> Studio2015\Projects\CreateCluster\CreateCluster\my-file.xml");
>             var cache = ignite.GetCache<int, Categories>("NORTHWND");
>             object[] arg = new object[] { typeof(int),typeof(string) };
>              cache.LoadCache(null,arg);
>
> Error Message:
> n unhandled exception of type
> 'Apache.Ignite.Core.Cache.Store.CacheStoreException' occurred in
> Apache.Ignite.Core.dll
>
> Additional information: Provided key type is not found in store or cache
> configuration [cache=NORTHWND, key=BinaryObject [idHash=1473137063,
> hash=51348210, typeId=87]]
>
>
>
> --
> View this message in context: http://apache-ignite-users.
> 70518.x6.nabble.com/Load-data-to-cache-tp11394p11483.html
> Sent from the Apache Ignite Users mailing list archive at Nabble.com.
>

Mime
View raw message