1 package DBIx::Class::Storage::DBI::ODBC::Firebird;
6 DBIx::Class::Storage::DBI::ODBC
7 DBIx::Class::Storage::DBI::Firebird::Common
11 use DBIx::Class::_Util 'dbic_internal_try';
16 DBIx::Class::Storage::DBI::ODBC::Firebird - Driver for using the Firebird RDBMS
21 Most functionality is provided by
22 L<DBIx::Class::Storage::DBI::Firebird::Common>, see that driver for details.
24 To build the ODBC driver for Firebird on Linux for unixODBC, see:
26 L<http://www.firebirdnews.org/?p=1324>
28 This driver does not suffer from the nested statement handles across commits
29 issue that the L<DBD::InterBase|DBIx::Class::Storage::DBI::InterBase> or the
30 L<DBD::Firebird|DBIx::Class::Storage::DBI::Firebird> based driver does. This
31 makes it more suitable for long running processes such as under L<Catalyst>.
35 # batch operations in DBD::ODBC 1.35 do not work with the official ODBC driver
36 sub _run_connection_actions {
39 if ($self->_dbh_get_info('SQL_DRIVER_NAME') eq 'OdbcFb') {
40 $self->_disable_odbc_array_ops;
43 return $self->next::method(@_);
46 # releasing savepoints doesn't work for some reason, but that shouldn't matter
47 sub _exec_svp_release { 1 }
49 sub _exec_svp_rollback {
50 my ($self, $name) = @_;
53 $self->_dbh->do("ROLLBACK TO SAVEPOINT $name")
56 # Firebird ODBC driver bug, ignore
57 if (not /Unable to fetch information about the error/) {
58 $self->throw_exception($_);
63 =head1 FURTHER QUESTIONS?
65 Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
67 =head1 COPYRIGHT AND LICENSE
69 This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
70 by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
71 redistribute it and/or modify it under the same terms as the
72 L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.