Resolution: Can't Fix
Affects Version/s: 2.0.3
Fix Version/s: None
Environment:System Windows NT 5.1 build 2600 (Windows XP Professional Service Pack 3) i586
Compiler MSVC6 (Visual C++ 6.0)
Apache Version Apache/2.2.17 (Win32) PHP/5.3.5
trying to execute this dql:
SELECT p FROM my\namespace\entities\PQR p WHERE p.razon = 'TEL'
it built this native sql (iseries)
SELECT t0_.SGNUMÑ AS SGNUMÑ0, t0_.SGCAUS AS SGCAUS1, t0_.SGREAS AS SGREAS2 FROM SGMASTL7 t0_ WHERE t0_.SGCAUS =
because pdo is created with odbc, quote method is not supported, and Doctrine/DBAL/Connection.php#quote() method returns an empty value for <'TEL'> expression, so Database throws a Syntax error. It should be support for drivers which doesn't have implemented quote() method.
 with odbc: $pdo = new PDO("odbc:MY_ODBC_NAME", "USER", "PASSWORD");