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 doesn't work if there's a call to an additional suspend function #135
Comments
Hi @cj848 Could you check this? I don't know much about hibernate reactive |
https://github.com/hibernate/hibernate-reactive/blob/main/documentation/src/main/asciidoc/reference/introduction.adoc#sessions-and-vertx-contexts Even if your intention is an operation unrelated to db, it seems to be the intention of the framework developer to prevent the possibility of problems. This part is not something I can do anything about. |
Since there is no reply for a long time, I will close it. If you have further questions, please proceed to a new issue. |
This is a closed issue, but i have same problem and it was solved by vertx-lang-kotlin-coroutines
https://vertx.io/docs/vertx-lang-kotlin-coroutines/kotlin/
|
wow.. Oh... I guess this is good practice. thanks. I will make it into a document for reference. Thank you |
^ this code breaks, this means that I can't run a transaction and call external suspend function without breaking the code
Is there something I'm missing?
how can I do multiple things in a transaction like - get -> async big calculation -> save
The text was updated successfully, but these errors were encountered: