On Fri, Feb 08, 2008 at 01:52:07PM -0700, Steve Kirkup wrote:
> Hello,
> 
> 
> Is there a clean way to override the insert() method to call a sequence 
> generator for getting a primary key? 

http://dev.catalyst.perl.org/repos/bast/DBIx-Class/0.08/branches/oracle_sequence/

already does it for Oracle, and there's no reason the code can't be generalised
- we just need people to step up and do it.

Fancy having a go?

> I would assume it is possible, but I am unsure where it would go.
> 
> Steve Kirkup
> 
> _______________________________________________
> 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]

-- 
      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