On Fri, 11 Jan 2008 13:29:43 -0500 "John Siracusa" <[EMAIL PROTECTED]> wrote:
JS> On Jan 11, 2008 1:10 PM, Ted Zlatanov <[EMAIL PROTECTED]> wrote: >> I think the automatic class builder should have a required option to set >> the default explicitly (it didn't, last time I looked). That would >> ensure the developer thought about it even in the path of least >> resistance. JS> Wat would the be the possible values for that option, an what code JS> would each option produce? I'd call the option "connection_creation_mode" but that may be too verbose. per_object: the current default, new DB each time init_db is called per_process: init_db as you showed earlier externally_managed: init_db will die(), user must write it himself apache_managed: works as you'd expect with Apache::DB (I don't know the details) Plus maybe some others? I think externally_managed covers all the strange cases you don't necessarily want to accomodate in the builder. The transaction issue certainly will bite people who don't know about it, so I think this is a good thing. Ted ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object