1 package DBIx::Class::Storage::DBI::ODBC::Firebird;
6 DBIx::Class::Storage::DBI::ODBC
7 DBIx::Class::Storage::DBI::Firebird::Common
15 DBIx::Class::Storage::DBI::ODBC::Firebird - Driver for using the Firebird RDBMS
20 Most functionality is provided by
21 L<DBIx::Class::Storage::DBI::Firebird::Common>, see that driver for details.
23 To build the ODBC driver for Firebird on Linux for unixODBC, see:
25 L<http://www.firebirdnews.org/?p=1324>
27 This driver does not suffer from the nested statement handles across commits
28 issue that the L<DBD::InterBase|DBIx::Class::Storage::DBI::InterBase> or the
29 L<DBD::Firebird|DBIx::Class::Storage::DBI::Firebird> based driver does. This
30 makes it more suitable for long running processes such as under L<Catalyst>.
34 # batch operations in DBD::ODBC 1.35 do not work with the official ODBC driver
35 sub _run_connection_actions {
38 if ($self->_dbh_get_info('SQL_DRIVER_NAME') eq 'OdbcFb') {
39 $self->_disable_odbc_array_ops;
42 return $self->next::method(@_);
45 # releasing savepoints doesn't work for some reason, but that shouldn't matter
46 sub _exec_svp_release { 1 }
48 sub _exec_svp_rollback {
49 my ($self, $name) = @_;
52 $self->_dbh->do("ROLLBACK TO SAVEPOINT $name")
55 # Firebird ODBC driver bug, ignore
56 if (not /Unable to fetch information about the error/) {
57 $self->throw_exception($_);
64 See L<DBIx::Class/AUTHOR> and L<DBIx::Class/CONTRIBUTORS>.
68 You may distribute this code under the same terms as Perl itself.