Closed cve closed 5 years ago
This is not so easy to achieve :wink:
If you execute php via a webserver you will get a new mysql connection on every request. So having a "cross-request transaction" is not really supported out-of-the box.
It might be doable with persistent connections? Never looked into it.
https://php.net/manual/en/features.persistent-connections.php
Anyway nothing I can fix on this bundle as it has to be supported lower level to have a persistent connection.
Thank you for open my eyes on persistent connection :)
Hi,
I want to run my behat (chromedriver) tests within transaction and my question is: is that possible for example throught api endpoints?: /api/start-transaction and /api/rollback-transaction