I’m trying to generate my models with Gii and i want to use an Oracle synonym instead the table, but when i click ‘Generate’ button, the message ‘Table ‘my_table’ does not exist.’ appears. This table in fact is my synonym.
I’m having the same issue but just with an ActiveRecord in general.
If I use a CModel and build out the necessary SQL instead, there’s no problem. But when I try to use an ActiveRecord, I’m told the table doesn’t exist.
So I’ve got a workaround, but would still rather use an ActiveRecord.