In playing around with Rose::DB::Object, I have a question about the Rose::DB derived object:
The examples for Rose::DB::Object all implement init_db like this: sub init_db { return My::DB->new(); } Now, so far as I can see that will create multiple My::DB (which isa Rose::DB) instances, and each of those instances will have a unique DBI database handle. Assuming that I haven't missed something there, doesn't this plethora of database handles make transaction support difficult, since the transaction state is typically per handle? Given that, is there any good reason not to return the same My::DB instance from every call to init_db? Daniel ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object