-
Notifications
You must be signed in to change notification settings - Fork 695
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
Cannot use multi transactions? #831
Comments
Could you please add a logger to ensure that statement from the second transaction was executed and not commited. |
Thank you for your answer.
Second transaction looks duplicated. |
Do you have any exceptions in your code inside the transaction block? Could you share a sample project to reproduce? |
Thank you so much! |
…ansaction` block SpringTransactionManager has connection leak when used with `transaction` instead of @transaction annotation #831
Thank you for a sample it was very helpful. |
I am trying to use Exposed with SpringBoot and MySQL.
When I use two
transaction
s, First transaction is executed.But second transaction is ignored without errors.
Can I use multi transactions?
example
This is based on a tutorial of Spting Boot.
https://spring.io/guides/tutorials/spring-boot-kotlin/
When I tried again, I got error
java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 30001ms.
.That looks waiting for transaction to be committed.
environments
The text was updated successfully, but these errors were encountered: