Re: Using SQL cache with javax cache api

2020-04-02 Thread Ilya Kasnacheev
Hello! Ignite cannot store multi-columnstables as maps in cache. Those columns will still be stored as BinaryObject/POJO, and you only confuse Ignite internal by pretending that it is HashMap. I recommend getting rid of HashMap in table declaration and using ignite.binary().builder("typeName") in

Re: Using SQL cache with javax cache api

2020-04-01 Thread Evgenii Zhuravlev
Hi, I'm not sure why wrap_key doesn't work here, but wey_type should solve this issue. Evgenii вт, 31 мар. 2020 г. в 23:10, Dominik Przybysz : > Hi, > I created SQL cache, but sometimes I want to use it via javax.cache.api > and it doesn't work. > > I created cache with SQL: > > CREATE TABLE IF

Using SQL cache with javax cache api

2020-03-31 Thread Dominik Przybysz
Hi, I created SQL cache, but sometimes I want to use it via javax.cache.api and it doesn't work. I created cache with SQL: CREATE TABLE IF NOT EXISTS Person6 ( id varchar primary key , city_id int, name varchar, age int, company varchar ) WITH "template=replicated,backups=1,wrap_key=fal