I'm not sure how with SQLObject (I'm TG2 and SQLAlchemy, myself). Basically, though, you do a "privconn = SQLObject.connect()" inside your subprocess, and use *only* that connection object. At least, that's how it works with SQLAlchemy, and I would expect that it's the same for SQLObject.
On Sat, Sep 17, 2011 at 4:18 PM, Sam <[email protected]> wrote: > Thanks for the information and fast response. > > I'm not sure how to get a fresh connection that is private to the > child process, while still being able to use model I've imported. Can > you explain how to do this? > > Thanks > > On Sep 17, 1:54 pm, Michael Pedersen <[email protected]> wrote: > > > In the end, for each child process, get it the information to connect to > the > > database fresh, and work only with a fresh connection that is private to > > that child process. You'll get the results you're expecting then. > > -- > 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. > > -- Michael J. Pedersen My IM IDs: Jabber/[email protected], AIM/pedermj022171 Yahoo/pedermj2002, MSN/[email protected] My Online Resume: http://www.icelus.org/ Twitter: pedersentg -- 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.

