From 0472d0f0e24942ceee134935d9bf317cacf0f484 Mon Sep 17 00:00:00 2001 From: "Jonathan H. Wage" Date: Thu, 25 Feb 2010 15:21:42 -0500 Subject: [PATCH] [DoctrineBundle] Adding some XML examples --- src/Symfony/Framework/DoctrineBundle/README | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Framework/DoctrineBundle/README b/src/Symfony/Framework/DoctrineBundle/README index 3bdd04cd1f..3c675cef44 100644 --- a/src/Symfony/Framework/DoctrineBundle/README +++ b/src/Symfony/Framework/DoctrineBundle/README @@ -23,6 +23,10 @@ do the following: user: root password: ~ +Or if you want to use XML instead of YAMl it would like like this: + + + Or if you have multiple connections and want to customize the configuration of the connection further you can use the following: @@ -32,7 +36,7 @@ connection further you can use the following: connections: default: driver: PDOSqlite # PDOSqlite, PDOMySql, PDOMsSql, PDOOracle, PDOPgSql, OCI8 - dbname: symfony + dbname: symfony_guestbook user: root password: null host: localhost @@ -43,6 +47,12 @@ connection further you can use the following: wrapper_class: ~ options: [] +You can also specify multiple connections using the XML format: + + + + + ### Object Relational Mapper If you want to enable the Doctrine 2 ORM you can do so with the following: