Issue now happens on edit as well as update. I found some more out
about this,.
BasePeer::doSelect() calls
BasePeer::populateStmtValues() calls
$stmt-bindValue(':p'.$i++, (int)$value, $pdoType); on roughly line
594 of my BasePeer.php
pdo type has been set by a call to
This appears to come back to a known bug:
http://bugs.php.net/bug.php?id=44643
https://connect.microsoft.com/SQLServer/feedback/details/521409/odbc-client-mssql-does-not-work-with-bound-parameters-in-subquery
It sounds like it may be a MS SQL Server bug, not a PHP/PDO/symfony
bug. I'm