via
persistence:
db = self._p_jar._db
worker = YourThread(db)
worker.start()
- Original Message -
From: Christian Theune [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 09, 2001 6:46 AM
Subject: [Zope-dev] Transaction environment in threaded zope-product
Hi.
I have
Hi.
I have a zope product, that uses threads, to control programs
running outside zope and doing some async stuff.
What I found is, that i can't do changes from the self-started
thread (ChrisW: that's the problem... ;) ).
But how do I get into a transaction do be able to change things on
Christian Theune wrote:
I have a zope product, that uses threads, to control programs
running outside zope and doing some async stuff.
You do realise that's pointing a loaded gun at your own head?
get_transaction().begin() doesn't work, and I don't find any
documentation to get started
Christian Theune writes:
I have a zope product, that uses threads, to control programs
running outside zope and doing some async stuff.
What I found is, that i can't do changes from the self-started
thread (ChrisW: that's the problem... ;) ).
But how do I get into a transaction do