Just curious in how it works in web2py. In SQLAlchemy sessions are thread safe.. so uncommitted transactions are accessible from other threads.
-Thadeus On Sun, Dec 27, 2009 at 1:44 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > You can commit db.commit() and db.rollback() explicitly. Just do it > when you need. > > The concept of cross-thread transaction is not well defined and would > be very unsafe. Perhaps if you tell us what you are tring to achieve > we can suggest a better way. > > > > On Dec 27, 10:29 am, Thadeus Burgess <thade...@thadeusb.com> wrote: >> Is it possible to disable auto_commit() so that it must be explicitly called? >> >> And are the Transactions shared between threads? Or must they be >> committed to be seen in other threads? >> >> -Thadeus >> >> On Sun, Dec 27, 2009 at 9:38 AM, Vasile Ermicioi <elff...@gmail.com> wrote: >> > any changes in DAL about GAE transactions? >> >> > On Sun, Dec 27, 2009 at 5:35 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: >> >> >> yes >> >> >> On Dec 27, 5:55 am, Thadeus Burgess <thade...@thadeusb.com> wrote: >> >> > Does the DAL perform all queries on a transaction basis... that >> >> > happens to commit() at the end of a successful request? and on an >> >> > error the transaction is rolled back? >> >> >> > -Thadeus >> >> >> -- >> >> >> You received this message because you are subscribed to the Google Groups >> >> "web2py-users" group. >> >> To post to this group, send email to web...@googlegroups.com. >> >> To unsubscribe from this group, send email to >> >> web2py+unsubscr...@googlegroups.com. >> >> For more options, visit this group at >> >>http://groups.google.com/group/web2py?hl=en. >> >> > -- >> >> > You received this message because you are subscribed to the Google Groups >> > "web2py-users" group. >> > To post to this group, send email to web...@googlegroups.com. >> > To unsubscribe from this group, send email to >> > web2py+unsubscr...@googlegroups.com. >> > For more options, visit this group at >> >http://groups.google.com/group/web2py?hl=en. >> >> > > -- > > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To post to this group, send email to web...@googlegroups.com. > To unsubscribe from this group, send email to > web2py+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.