On 5/22/06, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:
I'm not sure how I can either swap a DBH into the ObjectManager class, or just ignore it altogether (which I would not be averse to doing )
Manager methods take a db parameter, If one is not passed, then one will be created by calling the init_db() method of the object class. So, you should be able to pass in a pre-injected-with-your-desired-dbh Rose::DB-derived object as the db parameter to your Manager call, or you could override init_db() in your object class to return such a thing. ...or maybe I'm misunderstanding what you're trying to do? -John ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object