Hello!

You need to do this outside of your transaction.

Regards,
Ilya.
-- 
Ilya Kasnacheev


сб, 12 сент. 2020 г. в 02:42, xmw45688 <[email protected]>:

> Hi Ilya,
>
> Tried your suggestion, removing the userSeq field from the class.  It still
> raise the same exception -
>     org.apache.ignite.IgniteException: Cannot start/stop cache within lock
> or transaction.
>
> The error is thrown when trying to get igniteInstance.atomicLong("userSeq",
> maxId, true);
>
> Thanks.
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>

Reply via email to