
DBIx::Class::Storage::DBI::Oracle - Automatic primary key class for Oracle

# In your table classes
__PACKAGE__->load_components(qw/PK::Auto Core/);
__PACKAGE__->add_columns({ id => { sequence => 'mysequence', auto_nextval => 1 } });
__PACKAGE__->set_primary_key('id');
__PACKAGE__->sequence('mysequence');

This class implements autoincrements for Oracle.

Returns the sequence name for an autoincrement column
This wraps the superclass version of this method to force table names to uppercase
This sets the proper DateTime::Format module for use with DBIx::Class::InflateColumn::DateTime.

Andy Grundman <andy@hybridized.org>
Scott Connelly <scottsweep@yahoo.com>

You may distribute this code under the same terms as Perl itself.