Re: database connection missing

dieter <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
Steve McMahon <[email protected]> writes:
> ...
> Alternatively, you can directly use MySQL-Python or use SQL Alchemy. The
> downside of directly using MySQL-Python is that you won't have the
> excellent database connection pooling and caching, so you may end up with
> lots of connections.

Additional note:
If you plan to use "MySQL" in a transaction aware mode, you
must ensure that inside a request you always get the same connection --
otherwise, later database use may not see modifications done formerly
in the same request. You also need to interact with Zope's transaction
subsystem.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.