shadowfox wrote: > > Have you tried exclusively using hub.* and had a > > problem with it? > > well, for starters, I can't find a way to do "SELECT MAX(id) FROM > COMPANY" without using sqlbuilder. If I can, I may not need to use the > connection object and therefore can stick to using hub.*
In that case the above code looks about right. You can call the commit from either the connection object or the hub, both are doing pretty much the same thing. Just make sure to call hub.end() otherwise any additional db calls in that thread with be using your now-completed transaction. -Adam --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

