Hi, Is the model class code below enough to use sequence for this model/table? Is there something extra that I shall do for getting the primary key from sequence?
class Default_Model_DbTable_Test extends Zend_Db_Table_Abstract
{
protected $_name = 'table_name';
protected $_sequence = '_seq_table_name';
protected $_primary = 'id';
protected $_pk = 'id';
}
If not, this code does not get a new id from defined sequence?
Any correction or idea?
Thanks
scs
