1
0
mirror of synced 2025-01-18 06:21:40 +03:00

Add warning to Association Mapping chapter that referencedColumnName have to primary key columns

This commit is contained in:
Benjamin Eberlei 2011-07-12 23:01:42 +02:00
parent f4074dbe1d
commit c876f9edb2

View File

@ -384,6 +384,11 @@ Or you can trigger the validation manually:
If the mapping is invalid the errors array contains a positive
number of elements with error messages.
.. warning::
One mapping option that is not validated is the use of the referenced column name.
It has to point to the equivalent primary key otherwise Doctrine will not work.
.. note::
One common error is to use a backlash in front of the