Once again replying to my own post - apprently the only way to achieve
this right now is
in your code write
$db =& ConnectionManager::getDataSource($this->Addon->useDbConfig);
$db->__Sources = null;

Yes, I am fully aware that __sources is a private variable

Thanks to gwoo for the ideas about manipulating DB object with
reconnect() etc none of which worked unfortunately 

Cheers
Tarique


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to