I'm not sure how to get Rose to use only a single database object for all classes and objects. I am looking for a better way than to create a new Rose::DB object at the beginning of every script, and then pass it to each object as it gets created using MY::Object->new(db => $MY_DB, ... ) for every one.
Specifically, I'm using a transaction during a unit testing, and I want be sure that all objects that are created/modified are part of the same db handle so I can roll back at the end of the test. It seems I would need to specify the DB both in my application, and in my test, which seems like a lot of overhead. Thanks, - jud ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object