Class::DBI::Sybase - Extensions to Class::DBI for Sybase
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
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.
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.
* 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
Class::DBI, DBD::Sybase
To install Class::DBI::Sybase, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Class::DBI::Sybase
CPAN shell
perl -MCPAN -e shell install Class::DBI::Sybase
For more information on module installation, please visit the detailed CPAN module installation guide.