oh, found out ...for Doctrine 2.1 even foreign keys as primary keys are
supported.
2011/4/25 Максим Воробей neb...@gmail.com
I follow manual at
http://www.doctrine-project.org/docs/orm/2.0/en/tutorials/composite-primary-keys.html#identity-through-foreign-entities
.
_
From: symfony-users@googlegroups.com [mailto:symfony-users@googlegroups.com]
On Behalf Of Carl
Sent: Sunday, April 24, 2011 7:55 PM
To: symfony-users@googlegroups.com
Subject: Re: [symfony-users] [Symfony2] Doctrine2 Associated Entities as Id
Fields issue
It sounds like you have
I follow manual at
http://www.doctrine-project.org/docs/orm/2.0/en/tutorials/composite-primary-keys.html#identity-through-foreign-entities
http://www.doctrine-project.org/docs/orm/2.0/en/tutorials/composite-primary-keys.html#identity-through-foreign-entitiesand,
as you can see, i also added a
It sounds like you have an entity without a primary/foreign key defined for
it. If you're certain that your entities have the correct annotations, make
sure any database tables match them. Every entity must have a
primary/foreign key or it won't work with Doctrine. It's kind of annoying
since
It sounds like you have an entity without a primary/foreign key defined for
it. If you're certain that your entities have the correct annotations, make
sure any database tables match them. Every entity must have a
primary/foreign key or it won't work with Doctrine. It's kind of annoying
since