API reference for the PDO::beginTransaction function in the Microsoft PDO_SQLSRV Driver for PHP for SQL Server. The transaction begun with PDO::beginTransaction ends when PDO::commit or PDO::rollback ...
Thanks for filing this, there is no problem on this in relation to the process you made. We will update the documentation to add the calls to either Open() or EnsureOpen(). You are absolutely correct ...