catalyst,ORACLE,怎样取得序列

catalyst,ORACLE,怎样取得序列

catalyst,ORACLE,怎样取得序列
怎样可以取得最后添加的序列值?
find out:--my $n = $c-.
find out:
my $n = $c->model('XXXDB::YYY')->create({id => \" SEQ_NAME.NEXTVAL", name => $name, description => $description});
$c->res->write($n->id);