Inserting a new record
returns an error:
CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 904 OCIStmtExecute: ORA-00904: "id": invalid identifier
(/tmp/PDO_OCI-1.0/oci_statement.c:142). The SQL statement executed was: INSERT INTO Simple (name) VALUES (:yp0) RETURNING "id" INTO :RETURN_ID
changing
$sql.=' RETURNING "'.$table->primaryKey.'" INTO :RETURN_ID';
to
$sql.=' RETURNING '.$table->primaryKey.' INTO :RETURN_ID'; // removing the quotes seems to solve it
It was no bug after all, it had to do with the case of the column.