We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5857247 + df4e70b commit ac47a4dCopy full SHA for ac47a4d
cookbook/doctrine/reverse_engineering.rst
@@ -92,6 +92,13 @@ The generated ``BlogPost.dcm.xml`` metadata file looks as follows:
92
</entity>
93
</doctrine-mapping>
94
95
+.. note::
96
+
97
+ If you have ``oneToMany`` relationships between your entities,
98
+ you will need to edit the generated ``xml`` or ``yml`` files to add
99
+ a section on the specific entities for ``oneToMany`` defining the
100
+ ``inversedBy`` and the ``mappedBy`` pieces.
101
102
Once the metadata files are generated, you can ask Doctrine to import the
103
schema and build related entity classes by executing the following two commands.
104
0 commit comments