On Thu, Oct 04, 2007 at 05:06:56PM +0200, Hartmaier Alexander wrote:
> Hi!
> 
> That is possible now too, you only have to specify the sequence name in your 
> table class:
> 
> __PACKAGE__->add_columns(
>     id_table   => {
>         sequence            => __PACKAGE__->schemaname . 
> '.seq_for_this_table',
>         is_auto_increment   => 1,
>     },
> );
> 
> Works for me flawless since dbic 0.05 or so...

plu's patch has DBIC do the sequence fetch instead of the DB doing it via
a trigger.

Different thing.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

_______________________________________________
List: http://lists.scsys.co.uk/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]

Reply via email to