Using several modules, they use AR, all requests, models, written in lower case.
With Oracle, run only queries that are written in upper case.
when you specify
‘db’ => array
(
‘class’ => ‘CDbConnection’,
‘connectionString’ => ‘oci: dbname = localhost: 1521/oracle; charset = UTF8’,
[b]‘attributes’ => array (PDO :: ATTR_CASE => PDO :: CASE_LOWER),
‘columnCase’ => PDO :: CASE_LOWER,[/b]
‘username’ => ‘WEBBILLING’,
‘password’ => ‘Rfvxfnrf’,
)
I receive an error
Undefined index: COLUMN_NAME
… yii \ framework \ db \ schema \ oci \ COciSchema.php (229)
Line 229:
$ c-> name = $ column [‘COLUMN_NAME’];
What to do to run the query in the lower register, or need to rewrite COciSchema.php?