@Herman This has nothing to do with Doctrine itself. It's specifiec to 
SensioGeneratorBundle, which "generates code skeletons like bundles, form 
classes, or CRUD controllers based on a Doctrine 2 schema". But it can't handle 
more complex scenario's, and has some prerequicites (like the `$id` property).

-- 
Jasper N. Brouwer
(@jaspernbrouwer)


On 29 April 2014 at 13:23:35, Herman Peeren ([email protected]) wrote:
> Now I'm a little bit confused. AFAIK the id-fields can be named anything in
> Doctrine. Or am I wrong? Not being able to name them differently than '$id'
> is something from Synfony or whatever, not from Doctrine, isn't it? I also
> wouldn't understand how you use an identity called $id when you have a
> multiple primary key.


-- 
You received this message because you are subscribed to the Google Groups 
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to