Hello,
I'm starting to add Doctrine in my wab application and I have some problem
with the cache configurattion.
When I configure the query cache in the bootstrap like  :

Doctrine_Manager::getInstance()->setAttribute(Doctrine_Core::ATTR_QUERY_CACHE,new
Doctrine_Cache_Memcache(array (
 'compression' => false,
'servers' => array (
'host' => 'localhost',
 'port' => 11211,
'persistent' => true
)
 )));

That works fine but not for the result cache :

Doctrine_Manager::getInstance()->setAttribute(Doctrine_Core::ATTR_RESULT_CACHE,new
Doctrine_Cache_Memcache(array (
 'compression' => false,
'servers' => array (
'host' => 'localhost',
 'port' => 11211,
'persistent' => true
)
 )));

Furthermore when I set the result cache configuration from a doctrine_query
instance that works.

 $query->useResultCache(new Doctrine_Cache_Memcache(array (
'compression' => false,
 'servers' => array (
'host' => 'localhost',
 'port' => 11211,
'persistent' => true
)
 )));

So where I'm wrong ?

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to