Changes are only applied when readOnly=false is explicit #2608
Unanswered
FerroEduardo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Although
@Transactional
default value ofreadOnly
is false, the methodupdate()
only make changes when explicitly defining the property. Am I doing something wrong or this is a bug?Source code: https://github.com/FerroEduardo/micronaut-todo
Test: https://github.com/FerroEduardo/micronaut-todo/blob/main/src/test/java/com/ferroeduardo/TodoTest.java#L86-L102
JUnit report: https://github.com/FerroEduardo/micronaut-todo/actions/runs/6774044816
Beta Was this translation helpful? Give feedback.
All reactions