You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Vladimir Ozerov <vo...@gridgain.com> on 2016/03/01 07:50:34 UTC

Re: QueryCursor entry does not return "versioned" cache entry.

Hi,

Can you please properly subscribe to the mailing list so that the community
receives email notifications? Please follow this instruction:
http://apache-ignite-users.70518.x6.nabble.com/mailing_list/MailingListOptions.jtp?forum=1

Queries are not transactional, so you cannot update entries returned by
query cursor and expect these updates to be as a part of transaction.

I would recommend the following approach:
1) Run SQL query and identify the list of key to be updated.
2) Start transaction and update these keys using IgniteCache.get() and
IgniteCache.put() operations.

Vladimir.



--
View this message in context: http://apache-ignite-users.70518.x6.nabble.com/QueryCursor-entry-does-not-return-versioned-cache-entry-tp3274p3283.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.