In Doctrine the last connection in databases.yml is the default. Currently
no way exists to mark one of them as the default in databases.yml. You can
set the default though with direct Doctrine code like this.

Doctrine_Manager::getInstance()->setCurrentConnection('conn_name');

- Jon

On Mon, Dec 1, 2008 at 8:31 AM, gimler <[EMAIL PROTECTED]> wrote:

>
> hallo,
>
> how can i set one connection as default when i use multiple
> connections?
>
>
> greetings
> Gimler
>
> >
>


-- 
Jonathan H. Wage
Open Source Software Developer & Evangelist
http://www.jwage.com
http://www.doctrine-project.org
http://www.symfony-project.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" 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/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to