[Catalyst] Catalyst and Oracle

Matt S Trout dbix-class at trout.me.uk
Mon Aug 15 21:25:31 CEST 2005


On Mon, Aug 15, 2005 at 03:09:34PM -0400, Sean Davis wrote:
> On 8/15/05 2:48 PM, "Simon Miner" <sminer at christianbook.com> wrote:
> 
> > Is PostgresSQL's "serial" like MySQL's "auto increment".  If so, I don't
> > believe Oracle supports this.  It uses sequence objects instead.
> 
> Just for the record, "Nope."  Serial is just a "macro" for defining the
> sequence and defaults for the column.

You can find a good overview of how at least a few dbs' auto-inc equivalents
work in perl by reading the various components at

http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/lib/DBIx/Class/PK/Auto/

-- 
     Matt S Trout           Website: http://www.shadowcatsystems.co.uk
  Technical Director        E-mail:  mst (at) shadowcatsystems.co.uk
Shadowcat Systems Ltd.

 + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list