[CDBI] Re: Sequences in Class::DBI?

"Edward J. Sabol" <sabol-2oVx0MVsMgiP/[email protected]>
Newsgroups gmane.comp.lang.perl.modules.class-dbi
Message-ID <[email protected]>
Rod McChesney wrote:
> Note that you can also do this generically for Oracle in a your CDBI base
> class:
>
> __PACKAGE__-> set_sql(Nextval => 'SELECT %s.NEXTVAL from DUAL');

FYI, that's already in Class::DBI::Oracle. If you use that as your base
class, then it's done for you automatically and you can then use CDBI's
_next_in_sequence() method.

Hope this helps,
Ed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.