From 653add64f936934a239d729d63ca8826cc3d66ac Mon Sep 17 00:00:00 2001 From: Benjamin Eberlei Date: Sat, 9 Jul 2011 21:26:13 +0200 Subject: [PATCH] Fix bug in mappings of Aggregate Column cookbook entry --- en/cookbook/aggregate-fields.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/en/cookbook/aggregate-fields.rst b/en/cookbook/aggregate-fields.rst index 521f5d025..5d0981b06 100644 --- a/en/cookbook/aggregate-fields.rst +++ b/en/cookbook/aggregate-fields.rst @@ -46,7 +46,7 @@ Our entities look like: private $no; /** - * @OneToMany(targetEntity="Entry", mappedBy="entries", cascade={"persist"}) + * @OneToMany(targetEntity="Entry", mappedBy="account", cascade={"persist"}) */ private $entries;