Re: BRAHMS Run DB in BRAT

From: Christian Holm Christensen (cholm@hehi03.nbi.dk)
Date: Thu Aug 10 2000 - 09:35:49 EDT

  • Next message: Ion-Sorin Zgura: "Re: BRAHMS Run DB in BRAT"

    Hi Kris, 
    
    On Wed, 09 Aug 2000 18:01:22 -0500 hagel@comp.tamu.edu wrote:
    > It will be created using BrRunsDb which actually does the Db query to
    > the MySQL db on pii3.  As I understand things, this BrRunsDb is in turn
    > created by BrMainDb (even though I had the courage to do it all by
    > myself when I was testing)
    
    DON'T DO THAT!!!!!!!!!!!!
    
    The reason why the BrMainDb creates the BrRunsDb object is
    referncial-security!!! BrMainDb looks up the appropiate hostname and
    db filename, so that you are sure to get the right thing and not have
    multiple connections, etc.. In general, no object of any class
    deriving from BrDb should be created by the user, BrMainDb should take
    care of that. The only exception is BrMainDb, ofcourse, which however
    is a singleton. 
    
    The reason why I react so strongly, is because you might encourage
    others to do the same, with potential disasterours results. So I wish
    you could keep your dirty tricks to yourself (I do!). 
    
    Hope you're enjoing the summer, 
    
    Christian  -----------------------------------------------------------
    Holm Christensen                             Phone:  (+45) 35 35 96 91 
      Sankt Hansgade 23, 1. th.                  Office: (+45) 353  25 305 
      DK-2200 Copenhagen N                       Web:    www.nbi.dk/~cholm    
      Denmark                                    Email:       cholm@nbi.dk
    



    This archive was generated by hypermail 2b29 : Thu Aug 10 2000 - 09:36:22 EDT