Uwe Grauer wrote: > Would someone please answer the questions about the meaning > of autocommit? > See: http://svn.dabodev.com/trac/dabo/wiki/TransactionHandlingIdeas > This is a outstanding issue for a long time now.
The doc says: """ AutoCommit Do we need explicit begin/commit/rollback commands for transactions? (bool) """ I believe that the original intent of AutoCommit was a flag to let methods in dCursorMixin know whether dCursorMixin has to explicitly commit transactions for a given backend or not. If that is true, I don't believe AutoCommit should have ever been exposed to the application developer, as it is an internal implementation detail. However, I also believe you can set AutoCommit for some backends, which will change the behavior of the backend. Some backends autocommit by default, most not, and some if not all allow the user to change the behavior. But looking at the code, it also looks like setting AutoCommit can silently fail for some backends, so we should raise an exception there I think. If nothing else, we certainly need to rewrite the docstring to state more explicitly what the property does, and how the initial setting of the property is derived. Ed, what do you think? -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]
