Sam Tregar wrote on 1/29/08 8:52 PM:
> Hey all.  I'm getting started with Rose::DB::Object.  My problem is I need
> to inter-operate with a large pre-existing Class::DBI code-base.  I'd like
> to setup Rose to be able to share the same DBI connection that Class::DBI
> uses - otherwise I'll instantly double the number of connections from our
> web cluster when I roll out Rose::DB::Object.
> 
> I know of one problem - Class::DBI requires its DBI handles to inherit from
> DBIx::ContextualFetch while Rose wants its handle to inherit from
> Rose::DB::MySQL.  Anybody know how to solve this?  Alternately, do you know
> of other reasons why it won't work?
> 

just a naive guess here, but if you were using DBI->connect_cached as the 
underlying connect method, wouldn't DBI handle the sharing for you?

-- 
Peter Karman  .  http://peknet.com/  .  [EMAIL PROTECTED]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to