Re: [SQLObject] When are connections opened and closed?

2007-01-16 Thread Daniel Nogradi
  I'm sure it's a noobish question, but when are connections opened and
  closed exactly?

Exactly: they are opened and closed in dbconnection.py, in class DBAPI.


Thanks very much again. So basically I don't have to worry about
opening and closing the connection at all, right? It is opened
automatically at the first request and closed automatically when the
process ends? A more important concern I had is that whether I need to
worry about a possible overhead of automatic opening and closing
between requests, i.e. can I be sure that there is no unnecessary
opening/closing going on behind the scenes?

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss


Re: [SQLObject] When are connections opened and closed?

2007-01-16 Thread Oleg Broytmann
On Tue, Jan 16, 2007 at 07:09:59PM +0100, Daniel Nogradi wrote:
 Thanks very much again. So basically I don't have to worry about
 opening and closing the connection at all, right? It is opened
 automatically at the first request and closed automatically when the
 process ends?

   Basically, yes.

Oleg.
-- 
 Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss