diff --git a/src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml b/src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
index f86804b490..a8227fd750 100644
--- a/src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
+++ b/src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
@@ -45,6 +45,11 @@
%doctrine.orm.metadata_driver.entity_dirs%
+ %doctrine.orm.metadata.annotation_default_namespace%
+
+ Doctrine\ORM\Mapping\
+ orm
+
diff --git a/src/Symfony/Bundle/DoctrineMongoDBBundle/Resources/config/mongodb.xml b/src/Symfony/Bundle/DoctrineMongoDBBundle/Resources/config/mongodb.xml
index fa41a2ce50..c2f718b54e 100755
--- a/src/Symfony/Bundle/DoctrineMongoDBBundle/Resources/config/mongodb.xml
+++ b/src/Symfony/Bundle/DoctrineMongoDBBundle/Resources/config/mongodb.xml
@@ -57,6 +57,10 @@
%doctrine.odm.mongodb.metadata.annotation_default_namespace%
+
+ Doctrine\ODM\MongoDB\Mapping\
+ mongodb
+
%doctrine.odm.mongodb.xml_mapping_dirs%
%doctrine.odm.mongodb.yml_mapping_dirs%