I'm using the current svn checkout of sqlalchemy, and trying to integrate it with paste.

I use global_connect in an application filter to specify the engine uri.

Now, later I need to get at the real or proxy engine so I can call begin and commit.

Since global_connect() doesn't return the proxy engine, what's the proper syntax to get at the engine (connection?) for the current thread so I can call begin on it, and later, rollback or commit?

--

Since I'm using the latest svn, is any of the 0.2 stuff in the trunk? I was reading the 0.2 docs and it seems that objectstore is now a Session, and I should instead create a session, then create a transaction, then commit or rollback that transaction..

If that code is in svn head, do I need to do anything special to get a session using the default proxy engine?



-------------------------------------------------------
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

Reply via email to