[CDBI] Re: pass in database name from application

[prev] [thread] [next] [Date index for 2005/10/10]

From: Edward J. Sabol
Subject: [CDBI] Re: pass in database name from application
Date: 19:36 on 10 Oct 2005
Will wrote:
> The standard approach to the many-databases question, and one of the
> main things that CDF does for you, is to omit the connection(...)
> call and supply your own database handles from a db_Main method in
> your base class.

Yup. See http://wiki.class-dbi.com/index.cgi?UsingMultipleDatabases for more
info and examples.

> The only thing you have to watch out for is that the handles
> returned by your method are of the same kind as the ones that cdbi
> normally uses. Ed has listed the requirements here:
>
> http://lists.digitalcraftsmen.net/pipermail/classdbi/2005-August/000061.html

Also here:
http://wiki.class-dbi.com/index.cgi?ReUseLegacyDBIHandle

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

(message missing)

[CDBI] pass in database name from application
Thomas Kwan \(eTechfocus\) 04:15 on 10 Oct 2005

Re: [CDBI] pass in database name from application
Steven Mackenzie 09:09 on 10 Oct 2005

Re: [CDBI] pass in database name from application
William Ross 09:35 on 10 Oct 2005

[CDBI] Re: pass in database name from application
Edward J. Sabol 19:36 on 10 Oct 2005

Re: [CDBI] Re: pass in database name from application
Christopher H. Laco 19:44 on 10 Oct 2005

Generated at 15:14 on 14 Oct 2005 by mariachi v0.52