Re: [SQLObject] Re: Preparing for 0.6.1
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Sidnei da S. <si...@aw...> - 2004-12-31 19:19:57
|
| It's compatible with threads, you just have to pass the connection in | anytime it might be ambiguous what transaction you are working in (i.e., | whenever you are dealing with class methods). Though I'm curious what | people do in Zope 3, if there's anything special in sqlo... there | transactions are often per-thread (which is actually a lot more | convenient, since you don't have to pass the connection around, and | usually what you really want anyway). We keep a connection always open for each thread and used a descriptor for the _connection attribute of SQLObject to fetch this open connection using the thread id. -- Sidnei da Silva <si...@aw...> http://awkly.org - dreamcatching :: making your dreams come true http://www.enfoldsystems.com http://plone.org/about/team#dreamcatcher Know Thy User. |