You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a method marked with @transaction annotation where I fetch some data from the network and do multiple inserts/updates via dao.insert/update (they marked as with @insert and @update methods accordingly). But if one of the operations is aborted, changes are not rolled back. What can cause the problem?
The text was updated successfully, but these errors were encountered:
alectogeek
changed the title
transaaction works incorrectly
transaction works incorrectly
Dec 9, 2019
Do you still have this problem? If yes, could you please share some code with us to help us reproduce the issue? One idea I have right now: is the method marked with @transaction part of a DAO class?
Btw: sorry for taking so long to answer. I joined floor just a while ago and was not really familiar with the transaction code.
I have a method marked with @transaction annotation where I fetch some data from the network and do multiple inserts/updates via dao.insert/update (they marked as with @insert and @update methods accordingly). But if one of the operations is aborted, changes are not rolled back. What can cause the problem?
The text was updated successfully, but these errors were encountered: