Hello,
I have a model class that extends Zend_Db_Table_Abstract.
Altought I define sequence as stated in the
manual(http://framework.zend.com/manual/en/zend.db.table.html#zend.db.table.insert.key-sequence),
no sequence is created or incremented.

the sequence definition is like this:
class Default_Model_DbTable_Bugs extends Zend_Db_Table_Abstract
{
            protected $_name = 'bugs';
            protected $_sequence = '_seq_bugs';
....

No sequence table is created and the primary key of the table is given 0.
Am i doing something wrong?

Also, is there a practical way of getting a new sequence in the model
(prior to insert, sequence to set as primary key's value) ?

Thanks,
scs

Reply via email to