-
-
Save doctrinebot/75feb7482ea76f211d27 to your computer and use it in GitHub Desktop.
Attachments to Doctrine Jira Issue DDC-561 - https://github.com/doctrine/doctrine2/issues/5070
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 49b7907ad3fee144c491fbfaf721db0f6a08a0b8 Mon Sep 17 00:00:00 2001 | |
From: Nico Kaiser <kaiser@boerse-go.de> | |
Date: Fri, 30 Apr 2010 15:26:34 +0200 | |
Subject: [PATCH] DDC-561 | |
--- | |
lib/Doctrine/ORM/Mapping/AssociationMapping.php | 3 +++ | |
lib/Doctrine/ORM/Mapping/ClassMetadata.php | 1 + | |
2 files changed, 4 insertions(+), 0 deletions(-) | |
diff --git a/lib/Doctrine/ORM/Mapping/AssociationMapping.php b/lib/Doctrine/ORM/Mapping/AssociationMapping.php | |
index cadda07..79d2cfb 100644 | |
--- a/lib/Doctrine/ORM/Mapping/AssociationMapping.php | |
+++ b/lib/Doctrine/ORM/Mapping/AssociationMapping.php | |
@@ -392,6 +392,9 @@ abstract class AssociationMapping | |
if ($this->declared) { | |
$serialized[] = 'declared'; | |
} | |
+ if ($this->fetchMode) { | |
+ $serialized[] = 'fetchMode'; | |
+ } | |
return $serialized; | |
} | |
diff --git a/lib/Doctrine/ORM/Mapping/ClassMetadata.php b/lib/Doctrine/ORM/Mapping/ClassMetadata.php | |
index a659e82..c230ab4 100644 | |
--- a/lib/Doctrine/ORM/Mapping/ClassMetadata.php | |
+++ b/lib/Doctrine/ORM/Mapping/ClassMetadata.php | |
@@ -286,6 +286,7 @@ class ClassMetadata extends ClassMetadataInfo | |
'identifier', | |
'isIdentifierComposite', // TODO: REMOVE | |
'name', | |
+ 'namespace', | |
'table', | |
'rootEntityName', | |
'idGenerator', //TODO: Does not really need to be serialized. Could be moved to runtime. | |
-- | |
1.7.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment