1 package DBIx::Class::Schema::Loader::DBI::ODBC::Firebird;
6 DBIx::Class::Schema::Loader::DBI::ODBC
7 DBIx::Class::Schema::Loader::DBI::InterBase
9 use Carp::Clan qw/^DBIx::Class/;
12 our $VERSION = '0.07010';
16 DBIx::Class::Schema::Loader::DBI::ODBC::Firebird - ODBC wrapper for
17 L<DBIx::Class::Schema::Loader::DBI::InterBase>
21 Proxy for L<DBIx::Class::Schema::Loader::DBI::InterBase> when using L<DBD::ODBC>.
23 See L<DBIx::Class::Schema::Loader::Base> for usage information.
27 # Some (current) versions of the ODBC driver have a bug where ->type_info breaks
28 # with "data truncated". This "fixes" it, but some type names are truncated.
30 my ($self, $type_num) = @_;
32 my $dbh = $self->schema->storage->dbh;
34 local $dbh->{LongReadLen} = 100_000;
35 local $dbh->{LongTruncOk} = 1;
37 return $dbh->type_info($type_num);
42 L<DBIx::Class::Schema::Loader::DBI::InterBase>,
43 L<DBIx::Class::Schema::Loader>, L<DBIx::Class::Schema::Loader::Base>,
44 L<DBIx::Class::Schema::Loader::DBI>
48 See L<DBIx::Class::Schema::Loader/AUTHOR> and L<DBIx::Class::Schema::Loader/CONTRIBUTORS>.
52 This library is free software; you can redistribute it and/or modify it under
53 the same terms as Perl itself.