[CDBI] Re: CDBI, Oracle, and mod_perl

[prev] [thread] [next] [Date index for 2005/08/14]

From: Edward J. Sabol
Subject: [CDBI] Re: CDBI, Oracle, and mod_perl
Date: 17:46 on 14 Aug 2005
William Ross wrote:
> [...] so the easiest answer is to tweak your existing connection pool so
> that it contains cdbi-compatible handles, and then put in your base class a
> db_Main method that retrieves its connection from this pool.

Just to be explicit, the DBI handles normally created by Class::DBI have the
following attributes:

             RaiseError         => 1,
             PrintError         => 0,
             Taint              => 1,
             RootClass          => 'DBIx::ContextualFetch',
             FetchHashKeyName   => 'NAME_lc',
             ShowErrorStatement => 1,
             ChopBlanks         => 1,
             AutoCommit         => 0 (for Oracle & PostrgeSQL, otherwise 1)

You can probably get away with not setting Taint and ShowErrorStatement.
RootClass, RaiseError, FetchHashKeyName, and ChopBlanks are almost surely
required. CDBI will work with either AutoCommit setting.

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] CDBI, Oracle, and mod_perl
Simon Miner 05:32 on 14 Aug 2005

Re: [CDBI] CDBI, Oracle, and mod_perl
William Ross 13:39 on 14 Aug 2005

[CDBI] Re: CDBI, Oracle, and mod_perl
Edward J. Sabol 17:46 on 14 Aug 2005

RE: [CDBI] CDBI, Oracle, and mod_perl
Simon Miner 15:04 on 15 Aug 2005

Generated at 13:17 on 19 Aug 2005 by mariachi v0.52