On Wed, Jun 24, 2009 at 01:50:29PM +0400, Alex wrote:
> how can I predefine connection for each thread without
> the necessity to pass the connection explicitly on every
> instantiation?
from sqlobject import sqlhub
sqlhub.threadConnection = connectionForURI(connection_string)
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [email protected]
Programmers don't die, they just GOSUB without RETURN.
------------------------------------------------------------------------------
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss