Re: Re: Reusing connections quixote 2
"Mike Orr" <[email protected]> Tue, 7 Nov 2006 17:09:32 -0800
| Newsgroups | gmane.comp.web.quixote.user |
|---|---|
| Message-ID | <[email protected]> |
On 07 Nov 2006 18:15:44 +0000, [email protected] > If you don't need a connection pool and are using a lower level > database module than sqlalchemy, perhaps you could explicitly check > for an existing connection and reconnect if necessary. AFAIK the only way to check a connection is to do a query and see if it raises an exception. -- Mike Orr <[email protected]>