[DDC-1614] On OneToOne mappings with Primary Key same as Foreign Key, using @Id in the foreign association does not carry over when running "generate-entities" with --generate-annotations=1 Created: 22/Jan/12 Updated: 23/Jan/13
|Project:||Doctrine 2 - ORM|
|Component/s:||Mapping Drivers, ORM, Tools|
|Reporter:||Ryan Fink||Assignee:||Benjamin Eberlei|
Fedora 15, php 5.3.8
When having a OneToOne mapping that has a primary key that is the same as the foreign key, using the @Id attribute does not carry over when generating entities.
When running "doctrine orm:generate-entities --regenerate-entities=1 --generate-annotations=1", the @Id in User_ExtraAttrs does not carry over. It must be manually inserted.