doctrine - Symfony 2 form manipulate db query -


i'm having troubles implementing relational database schema symfony 2.3.2 , doctrine.

thats's structure:

  • details table has 1 many relation seasons table
  • details table has 1 many relation episodes table
  • episodes table has many 1 relation seasons table

when symfony renders episode form, it's including choice field seasons table, doesn't take care details seasons relationship defines seasons matching detail.

see http://fpaste.org/34835/ 4 sources

what cleanest way fix that?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -