Hi! If the sql syntax is like Oracle you can specify the sequence name you want to use:
__PACKAGE__->add_columns(
id_device => {
sequence => __PACKAGE__->schemaname . '.seq_device',
is_auto_increment => 1, # for ->copy
},
);
And make sure it uses the Storacle module...
-Alex
> -----Original Message-----
> From: Matt Rosin [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 16, 2007 3:14 PM
> To: DBIx::Class user and developer list
> Subject: Re: [Dbix-class] How to use oracle db sequence in TimesTen
>
> DBD::TimesTen which is beta based on ODBC. Oracle bought this
> in-memory database of which I know nothing. Except there is a PDF in
> there about configuring it for ORM well for Hibernate. Looks
> interesting.
>
> TimesTen page:
> http://www.oracle.com/technology/products/timesten/index.html
>
> Configuring Oracle TimesTen 7.0 for Application Servers and
> Object-Relational Mapping Frameworks:
> http://www.oracle.com/technology/products/timesten/pdf/wp/wp-
> timesten70-appsrv.pdf
>
> Matt R.
>
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
> Searchable Archive: http://www.grokbase.com/group/dbix-
> [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/ Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]
