> > 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.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to