Edmund Lian wrote: > > Ian wrote: > > >> 2. Support for transactions > > > >I didn't do this, but it would be nice... what kind of interface do you > >use for this? In a multi-threaded environment, I'd be unsure about how > >to lump together transactions... unless, I suppose, you have a > >connection object associated with each thread's accesses. > > Yes. This seems to be the only way to do it since the DB API does > transactions at the connection object level rather than say, the cursor > level.
Which is perfectly adequate for most RDBMs, I suspect. E.g., PostgreSQL cannot do updates on cursors. (Cursors in PostgreSQL do require a transaction, but it's a read-only transaction for the purpose of isolating the cursor from updates.) -- Steve. Stephen C. Waterbury http://misspiggy.gsfc.nasa.gov/people/waterbug.html "An idiot with a computer is a faster, better idiot." - Rick Julius _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
