I am just refining some code on one of my applications which I converted from using PHP ADODB library to PDO lately. In adodb once you launched a transaction it automatically rolled back if any exception should arise with queries between the begin and commit commands.
Does PDO also do this. If a method which has a query it it fails between a begin and commit in PDO will the trsaction automatically rollback or does it need to be implicitly called?