On Jul 9, 2007, at 6:51 PM, mla wrote: > > Is there any reason not to support nested transactions at the app > level? I find them very useful. Otherwise you have to make sure your > transactions are always at the top-level, which makes things more > error-prone, IMO. >
my guess is that they're a nightmare to code for, and only used by so few people. there are so many other features/support that are needed, and appeal to more users. > > But now I need nested transactions if I'd going to make do_transfer() > part of a larger transaction. > > How do you guys handle that? would this help? http://search.cpan.org/~crakrjack/DBIx-Transaction-0.008/ I use something similar -- a db factory with handle wrappers that are transaction aware. the only difference between what i use and tylers is that i overload connect as a transaction start . otherwise, i like tylers interface much more than my own, and am hoping to migrate to it soon. // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | CEO/Founder SyndiClick Networks | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | Founder/CTO/CVO | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object