BTW, if anyone wants to take a look at what I've done to support SA in TurboGears, it's here:
http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/database.py Probably easier to read for many would be the tests: http://trac.turbogears.org/turbogears/browser/branches/1.0/turbogears/tests/test_sqlalchemy.py It's not a lot of code, which is a good thing :) In TurboGears, transactions are implicit. If there's no error, a transaction is committed at the end of the request. When used with ActiveMapper, you get code that's quite similar to SQLObject (which is why there's a hope for a compatibility layer): class MyRoot(RootController): @expose() def no_error(self, name): p = Person(name=name) raise redirect("/confirm") This creates a new Person and adds it to the database when you go to /no_error passing in a name. Kevin -- Kevin Dangoor TurboGears / Zesty News email: [EMAIL PROTECTED] company: http://www.BlazingThings.com blog: http://www.BlueSkyOnMars.com Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users