Is there any other solution of using sequences in Oracle than Sequence + trigger?
afaik this is not efficient, and i would like pass just nextval to my PK like this:
$model->user_id = 'USERS_SEQ.nextval';
This should do. But if i do that, Yii passes a string to Oracle, and of course it throws an error.
I`ve found out that Yii has $sequenceName in db classes, but how to use that? Where to assign it?

Help















