[Bast-commits] r8992 - in
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI: . ODBC
caelum at dev.catalyst.perl.org
caelum at dev.catalyst.perl.org
Fri Mar 12 23:47:40 GMT 2010
Author: caelum
Date: 2010-03-12 23:47:40 +0000 (Fri, 12 Mar 2010)
New Revision: 8992
Modified:
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/InterBase.pm
DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/ODBC/Firebird.pm
Log:
update Firebird docs
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/InterBase.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/InterBase.pm 2010-03-12 08:00:54 UTC (rev 8991)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/InterBase.pm 2010-03-12 23:47:40 UTC (rev 8992)
@@ -26,10 +26,10 @@
L<disable_sth_caching|DBIx::Class::Storage::DBI/disable_sth_caching> option or
L</connect_call_use_softcommit> (see L</CAVEATS>) for your code to function
correctly with this driver. Otherwise you will likely get bizarre error messages
-such as C<no statement executing>.
+such as C<no statement executing>. The alternative is to use the
+L<ODBC|DBIx::Class::Storage::DBI::ODBC::Firebird> driver, which is more suitable
+for long running processes such as under L<Catalyst>.
-For ODBC support, see L<DBIx::Class::Storage::DBI::ODBC::Firebird>.
-
To turn on L<DBIx::Class::InflateColumn::DateTime> support, see
L</connect_call_datetime_setup>.
@@ -248,7 +248,8 @@
You need either this option or C<< disable_sth_caching => 1 >> for
L<DBIx::Class> code to function correctly (otherwise you may get C<no statement
-executing> errors.)
+executing> errors.) Or use the L<ODBC|DBIx::Class::Storage::DBI::ODBC::Firebird>
+driver.
The downside of using this option is that your process will B<NOT> see UPDATEs,
INSERTs and DELETEs from other processes for already open statements.
@@ -365,6 +366,8 @@
workaround for the C<no statement executing> errors, this of course adversely
affects performance.
+Alternately, use the L<ODBC|DBIx::Class::Storage::DBI::ODBC::Firebird> driver.
+
=item *
C<last_insert_id> support by default only works for Firebird versions 2 or
@@ -373,7 +376,8 @@
=item *
-Sub-second precision for TIMESTAMPs is not currently available with ODBC.
+Sub-second precision for TIMESTAMPs is not currently available when using the
+L<ODBC|DBIx::Class::Storage::DBI::ODBC::Firebird> driver.
=back
Modified: DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/ODBC/Firebird.pm
===================================================================
--- DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/ODBC/Firebird.pm 2010-03-12 08:00:54 UTC (rev 8991)
+++ DBIx-Class/0.08/trunk/lib/DBIx/Class/Storage/DBI/ODBC/Firebird.pm 2010-03-12 23:47:40 UTC (rev 8992)
@@ -10,7 +10,7 @@
DBIx::Class::Storage::DBI::ODBC::Firebird - Driver for using the Firebird RDBMS
through ODBC
-=head1 SYNOPSIS
+=head1 DESCRIPTION
Most functionality is provided by L<DBIx::Class::Storage::DBI::Interbase>, see
that module for details.
@@ -19,6 +19,11 @@
L<http://www.firebirdnews.org/?p=1324>
+This driver does not suffer from the nested statement handles across commits
+issue that the L<DBD::InterBase|DBIx::Class::Storage::DBI::InterBase> based
+driver does. This makes it more suitable for long running processes such as
+under L<Catalyst>.
+
=cut
# XXX seemingly no equivalent to ib_time_all from DBD::InterBase via ODBC
More information about the Bast-commits
mailing list