The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Class::DBI::Sybase - Extensions to Class::DBI for Sybase

SYNOPSIS

  package Music::DBI;
  use base 'Class::DBI::Sybase';
  Music::DBI->set_db('Main', "dbi:Sybase:server=$server", $username, $password);

  package Artist;
  use base 'Music::DBI';
  __PACKAGE__->set_up_table('Artist');
  
  # ... see the Class::DBI documentation for details on Class::DBI usage

DESCRIPTION

This is an extension to Class::DBI that currently implements:

    * Automatic column name discovery.
    * Works with IDENTITY columns to auto-generate primary keys.
    * Works with TEXT columns for create() and update()
    * Allow for CaseSensitive columns (for JavaDeveloperDesignedDBs)
        * Allow for tables with multiple primary key columns
        

Instead of setting Class::DBI as your base class, use this.

BUGS

DBD::Sybase currently has a bug where a statement handle can be marked as active, even though it's not. We override sth_to_objects to call finish() on the handle.

AUTHORS

* Dan Sully <daniel@cpan.org> - Original Author

* Michael Wojcikewicz <theothermike@gmail.com> - Current Maintainer

* Paul Sandulescu <archpollux@gmail.com> - Patches

* Thai Nguyen <useevil@gmail.com> - Patches

SEE ALSO

Class::DBI, DBD::Sybase