You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Jack Lever <ja...@othera.io> on 2018/08/07 05:39:34 UTC

IgniteRepository Custom Config

Hi All,

Can any tell me if there's a way to change the atomicity mode from ATOMIC
to TRANSACTIONAL and set the cache mode to REPLICATED for a cache created
with the @IgniteRepository annotation? Or otherwise generally configure a
cache started with the IgnRepo annotation?

Thanks,
Jack.

Re: IgniteRepository Custom Config

Posted by Ilya Kasnacheev <il...@gmail.com>.
Hello!

As per example, you can specify cache configuration when starting Ignite
node, refer to that cache by name in Spring Data annotation:
https://github.com/apache/ignite/blob/master/examples/src/main/java/org/apache/ignite/examples/springdata/PersonRepository.java
https://apacheignite-mix.readme.io/docs/spring-data

Regards,

-- 
Ilya Kasnacheev

2018-08-07 8:39 GMT+03:00 Jack Lever <ja...@othera.io>:

> Hi All,
>
> Can any tell me if there's a way to change the atomicity mode from ATOMIC
> to TRANSACTIONAL and set the cache mode to REPLICATED for a cache created
> with the @IgniteRepository annotation? Or otherwise generally configure a
> cache started with the IgnRepo annotation?
>
> Thanks,
> Jack.
>