Hello!
You should not specify key_type in this case.
Can you show code of your cache store / factory?
Regards,
--
Ilya Kasnacheev
вт, 14 янв. 2020 г. в 19:18, siva :
> Hi,
> yes,type of key is string.
> String cacheName="C091E548-B45A-49B4-B8EC-2CB5E27C7AF6";
> cacheCfg = new CacheConfigurat
Hi,
yes,type of key is string.
String cacheName="C091E548-B45A-49B4-B8EC-2CB5E27C7AF6";
cacheCfg = new CacheConfiguration(cacheName)
{
Name = cacheName,
CacheStoreFactory = new TenantCacheStoreFactory(_logger,
connectionString),
Hello!
Can you show complete cache configuration (template)?
I imagine it's possible that your cache ends up having primitive type as
key, yet you try to use it as binary object in cache store.
Regards,
--
Ilya Kasnacheev
пн, 13 янв. 2020 г. в 15:10, siva :
> Hi,
> Thanks for reply...write b
Hi,
Thanks for reply...write behind triggering now.but getting exception in
writeAll() method.
I have one query on insert what will be the key and value for writeAll()
method,if i defined or not in create query commond key_type and
value_type?.is this key_type and value_type needed.?
but in case
Hello!
You need to employ cache configuration templates to add Write Behind to
cache configured via SQL:
https://apacheignite.readme.io/docs/cache-template
In your case, you created two caches: one is empty but with write behind,
other is with SQL-inserted data but without Write Behind.
Regards