Thanks Oleg and Markus,

actually all this is about a Turbogears-proejct.
The connection has been defined and it works fine for all other classes.
It just doesn´t work anymore for the class, where i´ve overwritten the select() method...

Regards,
Frank

On Jan 29, 2008 11:11 AM, Markus Gritsch <m.gritsch@gmail.com> wrote:
On 28/01/2008, Oleg Broytmann <phd@phd.pp.ru> wrote:
>
> connection = sqlobject.connectionForURI("sqlite:///path/to/database.db")
>
>    and set it globally:
>
> sqlobject.sqlhub = connection

I think this should read

sqlobject.sqlhub.processConnection = connection

or

sqlobject.sqlhub.threadConnection = connection

instead.

Markus