diff --git a/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php b/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php index d6a6068f9..cc0d90a4c 100644 --- a/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php +++ b/lib/Doctrine/ODM/PHPCR/Mapping/ClassMetadataFactory.php @@ -262,4 +262,17 @@ protected function newClassMetadataInstance($className) { return new ClassMetadata($className); } + + /** + * Whether the class with the specified name should have its metadata loaded. + * This is only the case if it is either mapped as an Entity or a + * MappedSuperclass. + * + * @param string $className + * @return boolean + */ + public function isTransient($className) + { + return $this->driver->isTransient($className); + } } diff --git a/lib/vendor/doctrine-common b/lib/vendor/doctrine-common index 40f1bf16e..1b2a7d9b8 160000 --- a/lib/vendor/doctrine-common +++ b/lib/vendor/doctrine-common @@ -1 +1 @@ -Subproject commit 40f1bf16e84ddc5291a6a63aa00b9879c40e3500 +Subproject commit 1b2a7d9b89a886dfb5d862660cf6576bb605dedd