Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

transaction works incorrectly #225

Closed
alectogeek opened this issue Dec 9, 2019 · 2 comments
Closed

transaction works incorrectly #225

alectogeek opened this issue Dec 9, 2019 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@alectogeek
Copy link

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?

@alectogeek alectogeek changed the title transaaction works incorrectly transaction works incorrectly Dec 9, 2019
@mqus mqus added the bug Something isn't working label May 5, 2020
@mqus
Copy link
Collaborator

mqus commented May 27, 2020

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.

@mqus mqus added the question Further information is requested label May 27, 2020
@mqus
Copy link
Collaborator

mqus commented Jul 12, 2020

Closing due to inaction. Please reopen if you have an update :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Development

No branches or pull requests

2 participants