You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ignite.apache.org by Prasad Bhalerao <pr...@gmail.com> on 2018/05/11 07:51:52 UTC

select query inside transaction

Hi,

I am modifying cache entries inside a transaction.
I get updated values when I use cache.get() api within the same transaction
(before doing commit).

But when I try to get the same values using select query with in this
transaction, I do not get the updated values. I get old values.

Is this expected behavior?

Is there any way to get the updated values from cache using select query
within the same transaction (before doing commit operation)?

Thanks,
Prasad

Re: select query inside transaction

Posted by akurbanov <an...@gmail.com>.
Hi,

This feature is being actively developed in
https://issues.apache.org/jira/browse/IGNITE-4191.

Also please take a look to enchancement proposal on this topic to follow:
https://cwiki.apache.org/confluence/display/IGNITE/IEP-3%3A+Transactional+SQL

Currently transactional guarantees are fully supported only for key/value
operations, SQL performs DML operations on top of commited data.

Best regards,
Anton



--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/