este ejemplo lo cree para mysql y todo perfecto ahora estoy intentado migrar a oracle, ya tengo otras aplicaciones funcionando con oracle y php, este es el error
La tabla "Tareas" definida en la clase active record "Tareas" no se ha podido encontrar en la base de datos.
/usr/local/Zend/apache2/htdocs/webcaricia/yii/yii/framework/db/ar/CActiveRecord.php(2265)
2254 /**
2255 * Constructor.
2256 * @param CActiveRecord $model the model instance
2257 */
2258 public function __construct($model)
2259 {
2260 $this->_model=$model;
2261
2262 $tableName=$model->tableName();
2263
2264 if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null)
2265 throw new CDbException(Yii::t(‘yii’,‘The table “{table}” for active record class “{class}” cannot be found in the database.’,
2266 array(’{class}’=>get_class($model),’{table}’=>$tableName)));
2267 if($table->primaryKey===null)
2268 {
2269 $table->primaryKey=$model->primaryKey();
2270 if(is_string($table->primaryKey) && isset($table->columns[$table->primaryKey]))
2271 $table->columns[$table->primaryKey]->isPrimaryKey=true;
2272 else if(is_array($table->primaryKey))
2273 {
2274 foreach($table->primaryKey as $name)
2275 {
2276 if(isset($table->columns[$name]))
2277 $table->columns[$name]->isPrimaryKey=true;
Stack Trace
#0
/usr/local/Zend/apache2/htdocs/webcaricia/yii/yii/framework/db/ar/CActiveRecord.php(379): CActiveRecordMetaData->__construct(Tareas)
#1
–
/usr/local/Zend/apache2/htdocs/webcaricia/blog/protected/models/Tareas.php(10): CActiveRecord::model("Tareas")
05 class Tareas extends CActiveRecord
06 {
07
08 public static function model($className=CLASS)
09 {
10 return parent::model($className) ;
11
12 }
13 public function rules(){
14 return array(
15 array(‘NOMBRE,DESCRIPCION’,‘required’)
el modelo es este
<?php
/**
*/
class Tareas extends CActiveRecord
{
public static function model($className=__CLASS__)
{
return parent::model($className) ;
}
public function rules(){
return array(
array('nombre,descripcion','required')
);
}
}
?>
gracias por tu ayuda