incubator-zeta-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Derick Rethans <...@derickrethans.nl>
Subject Re: [zeta-dev] eZCDatabase VS eZDB
Date Tue, 10 Aug 2010 11:04:18 GMT
On Tue, 10 Aug 2010, Jerome Renard wrote:

> On Tue, Aug 10, 2010 at 11:48 AM, llaumgui <guillaume@llaumgui.com> wrote:
> 
> > I develop an application with eZ Publish and eZC. For
> > eZCPersistantObject, I must use eZCDatabase.
> > My question is: can I use the same connection between eZC and eZP
> > without open an new connection with ezcDbFactory::create?
> 
> If you use MySQL, you do not have to be concerned about that. As far 
> as I remember MySQL is smart enough not to reopen a new connection 
> when this is what you are trying to do and just reuse an already 
> existing one from its pool. (If anyone could confirm that would be 
> great :))

That's an extension feature, so that will not help in this case as 
ext/PDO_MYSQL is not ext/mysql.

Derick

-- 
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug

Mime
View raw message