[DC-1035] ORA-01791 due to bad driver name in Doctrine_Adapter_Oracle Created: 01/Sep/11 Updated: 01/Sep/11
|Reporter:||Jayson LE PAPE||Assignee:||Jonathan H. Wage|
Windows 7 64 bits, PHP 5.2.11, Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi, Symfony 1.4.13
When i execute this code:
Doctrine executes :
This causes "Oracle DB Error ORA-01791 not a SELECTed expression" because the sql query don't have a2.nom in SELECT DISTINCT and it's indispensable for ORDER BY a2.nom
The problem is in Query.php line 1417 :
The driver name declared in Doctrine_Adapter_Oracle not in this conditional.
An other problem is probably located at line 1409
if don't correct the declaration of $attributes in Doctrine_Adapter_Oracle.