From: Ahmed M. A. <ahm...@wa...> - 2004-07-19 11:54:46
|
Hi Florian , I'am using MaxDB database and i have encountered some problems with the connection. Sometimes,my connection object become invalid.I fixed with the next patch;I don't know if this will solve your problem. Anyway,let me know if it solves. file : sqlobject/dbconnection.py method: DBAPI.releaseConnection [-] if self._pool is None: [+] if not self._pool: [-] if self._pool is not None: [+] if self._pool : Ahmed MOHAMED ALI "Florian Schulze" <flo...@gm...> wrote in message news:ops...@nw...... > Hi! > > Is anyone using SQLObject with long running processes which open many > (short lived) connections? Currently there seems to be no way to really > close connections. Sooner or later I get errors about to many connections > to the database and many many idle database processes. > > I'm using SQLObject from Subversion (Rev 163) with Postgresql (psycopg). > > Regards, > Florian Schulze > > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click |