Em Tuesday 05 February 2008 19:12:07 James escreveu: > A lot of my controller methods are read-only (apart from the identity > management), and yet a new transaction is being created for every > single page load at the moment.
By default every @expose()d method is wrapped within a transaction. > Is there a better way for me to get my hands on a session which gives > finer control? You can disable transactions and control them manually on the few methods where you write to the database... I don't remember the exact syntax for that but I am sure it is on the list archives. -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

