You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Lokesh Sharma <lo...@gmail.com> on 2018/08/10 13:09:16 UTC

Persistence with Spring Data

Hi all

Is it possible to have persistence enable for just a single table when
using Ignite through Spring Data rather than having it enabled for all the
tables?

Re: Persistence with Spring Data

Posted by Lokesh Sharma <lo...@gmail.com>.
Thank... I'll try that and let you know if it works.

On Fri, Aug 10, 2018, 6:49 PM Ilya Kasnacheev <il...@gmail.com>
wrote:

> I think it should be possible.
>
> You can define Spring Data caches in configuration, and you can specify
> data region on per cache basis. You will have two data regions, persistent
> and non-persistent:
>
> https://apacheignite.readme.io/docs/memory-configuration#section-data-regions
>
> Regards,
>
> --
> Ilya Kasnacheev
>
> 2018-08-10 16:09 GMT+03:00 Lokesh Sharma <lo...@gmail.com>:
>
>> Hi all
>>
>> Is it possible to have persistence enable for just a single table when
>> using Ignite through Spring Data rather than having it enabled for all the
>> tables?
>>
>
>

Re: Persistence with Spring Data

Posted by Ilya Kasnacheev <il...@gmail.com>.
I think it should be possible.

You can define Spring Data caches in configuration, and you can specify
data region on per cache basis. You will have two data regions, persistent
and non-persistent:
https://apacheignite.readme.io/docs/memory-configuration#section-data-regions

Regards,

-- 
Ilya Kasnacheev

2018-08-10 16:09 GMT+03:00 Lokesh Sharma <lo...@gmail.com>:

> Hi all
>
> Is it possible to have persistence enable for just a single table when
> using Ignite through Spring Data rather than having it enabled for all the
> tables?
>