DBIx::Class::Storage::DBI::ODBC::ACCESS - Support specific to MS Access over ODBC
I am not a DBI, DBIx::Class or MS Access guru. Use this module with that in mind.
This module is currently considered alpha software and can change without notice.
This class implements support specific to Microsoft Access over ODBC.
It is loaded automatically by by DBIx::Class::Storage::DBI::ODBC when it detects a MS Access back-end.
This module have currently only been tested on MS Access 2003 using the Jet 4.0 engine.
As far as my knowledge it should work on MS Access 2000 or later, but that have not been tested. Information about support for different version of MS Access is welcome.
MS Access supports the @@IDENTITY function for retrieving the id of the latest inserted row. @@IDENTITY is global to the connection, so to support the possibility of getting the last inserted id for different tables, the insert() function stores the inserted id on a per table basis. last_insert_id() then just returns the stored value.
This error message is received when trying to store more than 255 characters in a MEMO field. The problem is (to my knowledge) an error in the MS Access ODBC driver. The problem is fixed by setting the data_type of the column to SQL_LONGVARCHAR in add_columns. SQL_LONGVARCHAR is a constant in the DBI module.
data_type
SQL_LONGVARCHAR
add_columns
DBI
This function currently supports the SQL_LONGVARCHAR column type.
Most likely. Bug reports are welcome.
Øystein Torget <oystein.torget@dnv.com>
<oystein.torget@dnv.com>
You may distribute this code under the same terms as Perl itself.
Det Norske Veritas AS (DNV)
http://www.dnv.com
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'Øystein'. Assuming CP1252
To install DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class
CPAN shell
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.