0
votes

I want use Symfony2.5 and Doctrine with my existing database. When I'm usgin command: php app/console doctrine:mapping:import --force MyBundle xml

I get an error: php app/console doctrine:mapping:import --force MyBundle xml

I found solution: write into file app/config/config.yml this thing

mapping_types: enum: string

But It doesn't work and I'm getting next error: Property "parent" in "Message" was already declared, but it must be declare
d only once . How can I solve it?

1
Almost solved, but is there in Doctrine possibility to create Entity for table where one field has three parent fields from other tables?madberdin

1 Answers

0
votes

Yes this is possible.

It should with different name.