-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Entity not committed when expected #7163
Labels
kind/question
Further information is requested
triage/duplicate
This issue or pull request already exists
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/question
Further information is requested
triage/duplicate
This issue or pull request already exists
During the execution of a process I open two transactions:
However, after executing the second transaction method, if I query the database the value has not yet been updated. What I expected is that after the execution of the method with the @transactional annotation is finished, the object is already committed to the database.
The reproduction of the situation is in the project:
https://github.com/emersonl91/quarkus-test
Important lines:
https://github.com/emersonl91/quarkus-tests/blob/master/code-with-quarkus/src/main/java/org/acme/MyService.java#L32
https://github.com/emersonl91/quarkus-tests/blob/master/code-with-quarkus/src/test/java/org/acme/ExampleResourceTest.java#L37
Edit 1:
Edit 2:
Edit 3:
MyEntity.findAll().list().get(0)
and the entity remains not updated.The text was updated successfully, but these errors were encountered: