I am developing a private enterprise application in Symfony2 that connects to an instance of SQL Server. I had a lot of problems working with SQL Server, but so far I have dealt with this, so far. I use FreeTDS + DBLib to connect to an instance of SQL Server, and this driver does not support transactions. This leads me to the following problem:
Every time I try to save an object, Symfony (or Doctrine) complains:
request.CRITICAL:
PDOException:
This driver doesn't support transactions (uncaught exception) at /.../Doctrine/DBAL/Connection.php line 858
My first, although it was disabling transactions, because the data change that I do through the application is minimal. I searched this topic over the Doctrine documentation, but I could not find any relevant information.
So my question is: is there any workaround for this lack of transaction support (some configuration option or even editing the Doalrine DBAL source).
And: Would it be smoother to just switch to Propel? I read on my website that they support SQL Server and have documentation on how to configure Propel for proper use.
Tiago source
share